Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~14.0K People Reached
About Me

Student

Interests
Chemisty, Physics, c++
PC Specs
P4 530 512MB DDR2-400 7300LE 80GB SATA HD
Favorite Tags
c++ x 17
c x 2

14 Posted Topics

Member Avatar for fesago90

Well, I read that endl 'flushes' the output buffer as opposed to \n. Now what does that mean (In what way could that be useful)?

Member Avatar for seanwalsh1984
0
572
Member Avatar for beverlyjojohnso
Member Avatar for degamer106

Can't help much but I'm sure others would greatly appreciate it if you used the [code=c] tag.

Member Avatar for John A
0
101
Member Avatar for Xzantose

[QUOTE=Ene Uran;312071]The IT did not use C++ or she would still be working on it![/QUOTE] :lol:

Member Avatar for blacklight
0
145
Member Avatar for tradfreak

[QUOTE=tradfreak;310566]... [B]I like the screen to appear like a FORM that is to filled out...[/B] Hope to hear from you... thanks for any help :)[/QUOTE] Is that a requirement? If it isn't, it shouldn't be that hard. If it is, then good luck and enjoy C for the months to …

Member Avatar for fesago90
0
109
Member Avatar for amishosh

[QUOTE=Ancient Dragon;310578]C++ compilers for MS-Windows operating system can compile either console programs, which normally opens a DOS-like window, or a GUI window like you see with your VB compiler. The reason is that many c++ programs do not need GUI windows because they do things that do not require a …

Member Avatar for fesago90
0
123
Member Avatar for fesago90

[B]EDIT:[/B] Again, after searching for some time and not finding any answers then asking here and going back to experiment a bit with my code, I figured out the answer just by trial and error :| Hi! My current homework assignment requires me to read some info from a file, …

Member Avatar for Dave Sinkula
0
5K
Member Avatar for fesago90

;) Hey guys, I have another simple question today: Lets say I have a structure: [code=c++]struct Info{ string name; string id; double telNum; }; //.... Info person; //....[/code] Now, if I had a function in which I told it to output one of the elements in the structure, how would …

Member Avatar for Ravalon
0
137
Member Avatar for fesago90
Member Avatar for fesago90

Aright, now all of you might be tired of my sometimes info-lacking posts about binary files. ... but I have another quick question: How do I write and read a double in a binary file? Code as simple as the following does not work (which is the usual code for …

Member Avatar for Ravalon
0
5K
Member Avatar for fesago90

Hi, just looking for a quick answer to my problem: How can I read a string from a binary file? for example string buff; binfile.read(reinterpret_cast<char*>(&buff), 10) does not work. Doesn't work either if buff is declared as a c-style string. I'd preferably like to read it into an STL string. …

Member Avatar for Ancient Dragon
0
201
Member Avatar for Lynqu2

hmm I started some years ago (I believe I was 13) with VB 6.0. Didn't really master it completely, then I stopped programming for some months... somewhat got back into programming and decided to learn C++. Bought "C++ Without Fear" by Brian Overland, explained everything exactly the way I wanted …

Member Avatar for Lynqu2
0
454
Member Avatar for fesago90

I'm doing a homework for my programming class, the following code is a part of my code which I cut out and formatted to be a 'runnable' program. Now, if you run it you'll notice it creates a data.txt file, writing the amount of student IDs in the record as …

Member Avatar for jwenting
0
139
Member Avatar for fesago90

[CODE=c++]#include <cstdlib> #include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string foo = "123"; if(count_if(foo.begin(), foo.end(), isdigit) == foo.size()) { cout << "\nGreat!\n"; } cin.get() }[/CODE] Does not work on bloodshed v4.9.9.2!!! It outputs the following error: [QUOTE]no matching function for call to `count_if(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, …

Member Avatar for Ravalon
0
158

The End.