General C++ Programming - September 2009 (Page 2)

I'm having problems with an assignment
 
Hey, everyone I'm relatively new here, I've been kind of patrolling the boards reading information h...
[4 replies] Last: If I were you I would be banging on peoples' doors ---> all the way up... (by turbozedd)
bit fields
 
struct bitField { unsigned char: 3 unsigned: 0 unsigned char: 5 What's the ...
[3 replies] Last: Does anyone know about this? (by n4nature)
diff utility
 
Is this the proper use of 'diff' ??? and why can't I get this program to run...somebody please help ...
[2 replies] Last: Thanks. I never knew that... (by CATCH3624)
by ezra
*Urgent* error C2664: cannot convert parameters...
 
Hi anybody can help me how to solve this. in aw.h (created by 3rd party developer) AWAPI int...
[2 replies] Last: hihi firedraco, Thanks for reply... i could not get what you mean..... (by ezra)
Boost tuple and Vector problem
 
Hi everyone! I'm doing a test to try and improve my understanding of vectors and boost tuples and...
[8 replies] Last: Firstly, thanks for everyone's help so far! So here's my code now. ... (by MisterEd)
trying to know the good console for C++
 
Hey, would somebody please help me know the best console program for C++ , I am learing C++ , so I a...
[3 replies] Last: Heres a link: http://www.cplusplus.com/forum/articles/7263/ I would... (by mcleano)
by mar11
access an object
 
Hi, Assuming, i have the following code.. //obj1 class obj1{ obj1(); void foo(); ......
[3 replies] Last: obj3::obj3(obj1 &obj){ //... } (by helios)
by MrX
Drawing in C++
 
My Lecturer ask me to draw a 6 DOF arm robot in c++. How in world i gonna do that???? Please help me...
[6 replies] Last: I'd download any graphic mode library for C++, with basic functions... (by JRevor)
by helios
rand() + threads
 
Is the behavior of rand() across different threads defined? I just spent twenty minutes trying to fi...
[1 reply] : In a word, no. rand() behavior across threads is going to be implemen... (by jRaskell)
Blackjack program
 
Create a program in which a user plays a simple version of the card game 21 against the computer. Ea...
[2 replies] Last: Anyway, before people yell at me or whatever because he didn't say th... (by mcleano)
memcpy error
 
Hello.I have the following struct typedef struct{ int nrecords; //Num...
[3 replies] Last: In printf("Open ppData =%c\n",ppData ); , what is ppData?... (by kbw)
overload=
 
Hello all, why function for overload operator= must be function of class, it can't be a frie...
[3 replies] Last: Thank all. (by maros522)
using typedef and using function call
 
I am having a hard time understanding the typedef, and using it in function calls. Also how to use ...
[2 replies] Last: Thanks for the last post, that really helped! Here is my code updat... (by bdpetersen)
Compiling
 
Well, I currently own both a Windows and a Linux machine. I'm not exactly used to using big IDE's an...
[2 replies] Last: thanks, hopefully that'll work. ill go try it. EDIT : thanks alot! it... (by elvenspike)
Massive Noob question
 
This is going to be a Massive Noob question,but im trying to output to a file but im having trouble....
[4 replies] Last: thank you all,works perfectly. (by kakashi316)
by JRevor
How to get Operator + return a dynamic object.?
 
I'm overloading the sum of two vectors. "Vector" is a class that works as a dynamic vector. I'd like...
[5 replies] Last: Sounds great. Thanks a lot. When I get to try it, I'll mark this as s... (by JRevor)
creating members in a class
 
How to create members for four intergers of an internet address and fifth member to store an associa...
[7 replies] Last: 2. You want to have a class with members like: class address_t { pr... (by Zaita)
float functions?
 
I made a program that acts as a calculater, outputs like this... + 5 result is now 5 - 2 resul...
[17 replies] Last: An answer to the very first post : To know if the input is a correc... (by JRevor)
Using Member Functions!!
 
This time class is driving me crazy...How can I get this program to calculate how long I have to wai...
[4 replies] Last: I'm trying to calculate the difference between the check_in time and t... (by CATCH3624)
Optimizing code
 
Can someone help optimize my code? It seems kinda long and messy, especially since i tried to make ...
[10 replies] Last: You can remove some braces eg: for (int i=12;i>=0;--i) ... (by Bazzy)
September 2009 Pages: 1234... 14
  Archived months: [aug2009] [oct2009]

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