General C++ Programming - May 2008 (Page 5)

problem including STL list
 
I am using eclipse for C++ and powerpc-apple-darwin9-gcc-4.0.1 as my compiler. I am trying to com...
[1 reply] : here is the main program: // File: prg3_1.cpp // the program ... (by cronos4d)
char, loop, array?
 
I need help with figuring out this code! I will be forever grateful. Problem: I sell c++ for fool...
[2 replies] Last: the code became completely scrambled when i entered it into the progra... (by urnotmyownerboy)
snake game s.o.s
 
i'm trying to make a snake game & i can't make the lenght of the snake increase & it's score & the f...
[2 replies] Last: here is the function #include<graphics.h> #include<conio.h> #inclu... (by soka2oo7)
Code Reuse From Another Project
 
Hello programmers, I am using Microsoft Visual C++ 2008. I am building a project which makes use...
[5 replies] Last: Can you not just go to the Project menu and select Add existing Ite... (by closed account z05DSL3A)
memmov conflicts
 
Well people, I got this doubt when reading about the memmov function in href=http://www.cplusplus.c...
[2 replies] Last: Thanks for clearing up the misconception. (by jagatsastry)
Network Programing question
 
Hello I was curiouse about this subject so i found some useful information at http://beej.us/guide/...
[2 replies] Last: Thanks ... that is what i needed. I tried cin.ignore() and as it didn... (by graciano)
limiting input in console.
 
Hi. I am writing a mastermind console game. Everything is working except for the fact that I can not...
[1 reply] : While the syntax cin >> var1 >> var2 >> var3 ... is simple and elegant... (by jsmith)
by tortt
problem with classes in header files
 
hello? i have problem: #ifndef AC_H #define AC_H using namespace std; class Student { pri...
[1 reply] : It's difficult to say from this piece of code. You'll have to provide ... (by ropez)
by zoz
solving program
 
can someone help me in this program: write a program that prints the day number of the year given...
[1 reply] : Start writing your code and ask specific C++ questions as they arise. ... (by Zaita)
by cancer
what I do in this program?
 
Write a C++ class including the code of the functions to maintain information about a Student. The c...
[1 reply] : What information do you want to know? (by Zaita)
Problem with rand()
 
I am writing a program that uses the rand() function to generate random numbers between 0 and 9. The...
[3 replies] Last: Ooh thanks. I forgot to refresh the page to check whether someone had... (by mrmarky2)
by obai
just in time debugging error
 
Hello everybiody! I am using visual c++.Net 2003 for the first time . My programm reads a file usin...
[3 replies] Last: I don't know. You'll have to read the simulator's documentation. Th... (by Duthomhas)
by polo87
input arguements
 
Hi,I am trying to take two input arguments (basically names of two files).I am concatenating each of...
[6 replies] Last: char x ="C:/Dev-C++/Bin/"; char y ="C:/Dev-C++/Bin/"; I t... (by kempofighter)
linked list
 
i have this linked list which creates a list then displays it. it compiles but the append function i...
[4 replies] Last: Yes repez U r right, Sorry my mistake :-(. (by DiptenduDas)
Should too many virtual functions raise a red flag? (1,2)
 
I am designing a network backup simulator which during my initial design I defined an abstract base ...
[22 replies] Last: For those that are interested: There's a new discussion related to thi... (by ropez)
Auto showroom program
 
I want to make a program on auto dealers website.i want to know how to store all the customer under ...
[1 reply] : As per Ur requirement... U need to have a container, which will keep t... (by DiptenduDas)
Overload = operator on custom class
 
Hi all, I've looked through £100's worth of text books and all the code I can find but I jsut can't...
[6 replies] Last: It sure does! Tried and tested. Thank you so much! (by gmorgs3)
Reading Brut float data from Memory
 
Hi, I need to do a resumé on Gentleman's algorithm and was wondering if there was a way to print a...
[1 reply] : Use a union to cast the float to integer values: typedef union {... (by Duthomhas)
by e2easy
ostream insertion operator, left to right?, or right to left?
 
Consider the following line of C++ ... std::cout<<myfna()<<myfnb(); ...but assume myfna(), and...
[3 replies] Last: It is defined: the standard says your results may vary. There are ve... (by Duthomhas)
Problems with overriding and template function
 
Hi all, I'm currently working on a C++ project for a 3rd year Physics course module. The project is...
[10 replies] Last: Heh, sorry for the grief. You are tackling a lot at once. You can s... (by Duthomhas)
May 2008 Pages: 1... 345678
  Archived months: [apr2008] [jun2008]

This is an archived page. To post a new message, go to the current page.