No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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? |
|
[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 … |
|
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 … |
|
Re:
How good do you have to be in C++ / C in order to enter the world of Open GL? |
|
Re:
:p [FONT=Comic Sans MS][COLOR=RoyalBlue]Hello , Ps I need someone to direct me to any site where I can get some challenging programming tasks that will enable me develop my C++ programming skills. I'm tired of reading books and tutorials and need to lay my hands on something practical this summer. … |
|
Re:
Hi, After completing my Date class, I realize that I am suffering from the 2038 problem. (As described here-> [url="http://pw1.netcom.com/~rogermw/Y2038.html"]http://pw1.netcom.com/~rogermw/Y2038.html[/url]). Does anyone know which libraries (or which code) I need to switch to on *nix systems to overcome this? (I know windows has someting like mktime64 (instead of mktime). Google … |
|
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 … |
|
Re:
here is the sequence i'm using for my arrow keys [code]#include<stdio.h> unsigned char keyin main() { if(square==1) {//start square putimage(285,440,ste,COPY_PUT); while((keyin=getch())!='\r') {//up arrow key if(keyin==72) {//hit up arrow keyin=getch(); square=2; }//hit up arrow }//up arrow key }//start square do {//game from start square on if(square==2) {//on square 2 putimage(285,400,ste,COPY_PUT); }//on … |
|
Re:
As seen in another thread, I'm working on a Log class. I'm running into an issue that if I delete the file that's being written to, the Log class doesn't detect it and continues to 'think' it's writing even though the file is gone... (Note that this is on sun … |
|
Re:
hello all can any body help me to correct this code please :cry: :cry: i want it so it can print whats n is in these different cases. this is my code and thanks alot for your help #include <stdio.h> #include <iostream.h> #include <stdlib.h> void main() { int ave, 1st, … |
|
Re:
I need help writing this program i have everthing set up except i cannot get the program to save the output from it. Here is a copy of my work (It will most likely suck Im new at this sorry.) Any help will be very appreciated. I need the file … |
|
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? |
|
Re:
hello all can anybody help me with this tutorial question please??? This is only part one and i think i can manage the rest of it if uoy help me with that part. I know that you don't help students with their homworks or assignments but I have completly no … |
|
|
|
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: … |
|
Re:
I've been looking all over trying to find the answer to this question.. and would be greatful if anyone could help.... Where in a standard model of software development does the writing pseudo-code belong? :?: Its one of the questions I've been forced to answer, its been two weeks n … |
|
Re:
I've read some of your thoughts on student postings and while I am keen to do things on my own behalf I have hit a wall. I've slaved at this project, mainly because I've not done any programming before, but i can't get my code to run and can't seem … |
|
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 … |