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.

0 Endorsements
~6K People Reached
Favorite Tags
c++ x 26
c x 5

18 Posted Topics

Member Avatar for sinrtb

In your opinion what is the fastest c++ compiler? I have found the gnu's compiler on my schools linux machines tobe very fast but i personally prefer the windows enviroment, is there any fast compilers for windows , something faster then g++ and mingw?

Member Avatar for Jimmeny
0
435
Member Avatar for sinrtb

[code]return tree == NULL ? -1 : tree->height;[/code] I am trying to understand AVL trees but the one really nice example I found has a couple of methods defined like this. It is really pretty but I cannot read it? Can someone explain it to me? Or even just write …

Member Avatar for Narue
0
154
Member Avatar for sinrtb

Havent written any code in along time but took up a little project that requires some C++ , Just need a little help getting started. Does any one have the source code for a program that will Read file write what it reads to another file. Pick out specific tokens …

Member Avatar for iamthwee
0
204
Member Avatar for Acidburn
Member Avatar for crestaldin

try checking different cs departments teachers websites where they post they're home work not really practical stuff but challengeing and usually meant to show how to impliment concepts beyond what tutorials do.

Member Avatar for mmiscool
0
256
Member Avatar for winbatch

[QUOTE=winbatch]SunOS ... 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Fire-280R (Basically, solaris 8), using Forte 7 compiler.[/QUOTE] you should be able to write an algorithm for this problem. the problem does not lie in the executeable it lies in the class you are using, all it does is takes the amount of seconds …

Member Avatar for Dogtree
0
256
Member Avatar for sinrtb

HAving trouble with my pointer arithmetic, any ideas appreciated My orgional code [code] Activity p[51]; for ( int i = 1; i <= n; ++i ) { // Read the activity records. pert >> p[i].i >> p[i].j >> p[i].pt >> p[i].prt >> p[i].ot; pert.getline(p[i].desc,21); [/code] converted but wrong [code] Activity …

Member Avatar for Dogtree
0
456
Member Avatar for kramer147

Im using gcc and mingw and im not able to use curses ... is it non included library? I did try -lcurses

Member Avatar for Dogtree
0
396
Member Avatar for winbatch

Why not open test and close the file each time you write to it it high overhead and useless in the real world im sure but if you really want to know if the file is there that seems to be the best way to do it. Just so that …

Member Avatar for subtronic
0
2K
Member Avatar for nizar4445
Member Avatar for Digital Reaver

The tail end of your program makes little sense [code] if (char; Y = Y ); { ofstream myFile("c:/reciet.txt"); // Creates an ofstream object named myFile if (! myFile) // Always test to see if the file open { cout << "Error opening output file" << endl; return -1; } …

Member Avatar for winbatch
0
109
Member Avatar for sinrtb

im includeing [code] #include <windows.h> // Header File For Windows #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Library #include <gl\glaux.h> [/code] how do i link this(the opengl headers) in the cmd console window im using mingw and g++ any ideas?

Member Avatar for sinrtb
0
113
Member Avatar for nizar4445

will the txt file be static or do you need to account for changes in it during runtime? in other words do you need to addnew students to the program during run time. because its a class assignment, how touchy is your teacher when it comes to stuff like knowing …

Member Avatar for sinrtb
0
125
Member Avatar for Gink

for C and c++ i use the mingw command line for compile and vis c++ for the editor, i personally find that the command line compiler is faster then the vis c++ compiler. (my opinion nothing more)

Member Avatar for Gink
0
361
Member Avatar for sinrtb

I know this is a stupid questions how do i send this : struct Activity { int i, // Beginning node number. j; // Ending node number. float pt, // Pessimistic time. prt, // Most probable time. ot; // Optimistic time. char desc[21]; // Activity description. } p[51]; into this: …

Member Avatar for sinrtb
0
125
Member Avatar for nobody

[QUOTE=Narue]Usually after the flowcharts, in the design stage.[/QUOTE] Why wouldnt pseudo code be in all stages of developement starting with flowcharting? just curious.

Member Avatar for Narue
0
92
Member Avatar for Purps

another thing you might want to do is comment your code, I find this incredibly usefull when im working on anything bigger then a hello world.

Member Avatar for Narue
0
247
Member Avatar for sinrtb

I have a few questions that I was hoping somone here could answer. 1. how can i pause my cout output? or is it possible to do it without calling a system command 2. is there a way to clear the console screen without makeing specific os comands? 3. does …

Member Avatar for Narue
0
129

The End.