Marie
Marie
salve a tutti, spero di non sbagliare nel fare qui una richiesta flin4cell per win10
3 warnings, Pierfrancesco has been banned! - non english - italian - lives in italy
Dima
lol
Dima
the latest warn
Dima
was totally
Dima
not cool
Dima
for admin
Dima
REPORTED
Thespartann
klimi
Yeah he was
Dima
imo you should add some more rules for an admin application such as: 1. be 18 yrs or older 2. knowledge of at least basics of cxx/programming overall
Dima
I match ( ͡° ͜ʖ ͡°)
Dima
nah I don’t want
Roxifλsz 🇱🇹
imo you should add some more rules for an admin application such as: 1. be 18 yrs or older 2. knowledge of at least basics of cxx/programming overall
The admins didn't exactly apply for it, I just added whomever I felt like adding, or whoever the other admins agreed on
Marie
Welcome Jfyd! Please read the pinned message 🙂
Anonymous
Hi I am planning to use .xls file as database with a c++ program can anyone suggest how I can I do so. Or any resource where I cab read about it.
Dima
The admins didn't exactly apply for it, I just added whomever I felt like adding, or whoever the other admins agreed on
Oh, okay, but that chat (“community”) grows fastly, I though it would need some more constraints lol
Dima
that's not performant
Anonymous
Anonymous
that's not performant
I just wanted to experiment with .xls database Do you know how to use that as database
Dima
na you are the exception
klimi
Uh?
Ибраги́м
http://www.informit.com/articles/article.aspx?p=2923213
See
Which is the difference between open file with open system call and using FILE pointer?
Anonymous
Hello
Manuel
Elpollo I don't understand "open file by system call", however I can tell you FILE pointer is used for STREAM functions, you also open a file by mean of filedescriptors (fd). The big difference between them (fd & STREAM) are a STREAM function is easier to use because are HIGH Level functions, fd functions are low level functions, that implies STREAM functions are more limited than fd functions.
Dima
File descriptor is a descriptor everywhere
Manuel
Chapter 12 of GNU Libc
Dima
you can have FILE* or int handle
See
So its better work with file descriptors
Manuel
chapter 13 of GNU Libc
Dima
Not always
Manuel
just now, I'm working FILE pointers 😊
Anonymous
unless you care of nanoseconds
Anonymous
or for learning purpose
Anonymous
open() is a system call
Manuel
ahm, ok.. I try to not use system calls never
Dima
write, read etc
Anonymous
you use them anyway implicitly
Anonymous
how do you think printf work?
See
With fd as 1
Manuel
how do you think printf work?
putting values on adressess memory?
Anonymous
With fd as 1
you should use STDOUT_FILENO
Anonymous
how it displays things on your pseudo-terminal
Anonymous
using a system call
Anonymous
write()
See
So printf calls open
Ariana
Use strace to view syscalls
Ariana
It doesn’t call open
Anonymous
So printf calls open
printf calls write()
See
Sorry for my mistake XD
Anonymous
when you use open, you get the file descriptor which is an integer value
Anonymous
(never less than 0)
Anonymous
if lt 0, then some error occoured and you should check errno
Anonymous
if you willing to read APUE, which is a very great book, it describes the relationships between fd, files, inode and process
See
Ok me, then if i could change the standard output filedescriptor with dup2, i can write file by using printf
Manuel
ahh, ok.. no more external links
See
Ok, thank you
Alignant
/warn lives in italy
I hate Italy lol
Jack Vettore
I hate you lol
klimi
I smell warn
klimi
Alignant
Alignant
/saved
Marie
/saved
Notes in chat: - cpp - cppbook - freeprogrammingbooks - goodcodingmentality - goodgoogling - googleit - hownottoask - ide - learn - meta - noendl - offtopic - ot - projects
Alignant
#cppbook
Marie
#cppbook
https://t.me/programminginc/49901
Alignant
@stevewozniak look, free books