General C++ Programming - October 2010 (Page 7)

GUI question
 
Is it acceptable to develop a non-gaming yet graphical program like a text-editor or a spreadsheet u...
[3 replies] Last: Thanks everyone thank you Disch; what I understand now is Qt is for... (by SomeLearner)
c/ c++ struct question
 
Hi I need to convert some c++ code so that it runs on an iPhone (objectve c). I have the following ...
[1 reply] : C doesn't support structures having methods at all, including construc... (by Zhuge)
by Kev17
hey guys first time here
 
Am trying to Write a program that will read two numbers and an integer code from the screen. The val...
[7 replies] Last: thanks for the push Albatross, i finally get it. but i didnt use the s... (by Kev17)
by atrosh
Derived class copy constructor not being called
 
Hello all, I have a (probably very simple) problem with copy constructors in derived classes... ...
[6 replies] Last: I found the solution when re-reading Disch's post (thanks again); I... (by atrosh)
Any ideas why this isn't working?
 
I'm making an simple bitmap loader/editor, and I've run into a REALLY weird bug in the loading secti...
[2 replies] Last: On a side note: #include <stdio.h>//for some reason, #include <c... (by Disch)
problems comparing 2 iterators
 
I need to compare the a string from codes.dat to a string in sales.dat and if they are equal do noth...
[2 replies] Last: Hey thanks that worked. Umm now I run into issues when my sales.da... (by br0k3nfr4m3s)
switch case out
 
Hi I run the following program and excepting answer "third" but I did get. Could anyone point me...
[4 replies] Last: Thx for reply Ya correct I think this was issue. I got undertsandin... (by agoswami)
by suds
My first post ....12 element array
 
I'm trying to code a program that displays the number of days corresponding to the month numbered ...
[12 replies] Last: ok. I may try to make hte while statement work then so it does ask ... (by suds)
Cannot connect using sockets once disconnected!
 
My program consists of three parts: SCTrans.cpp #include "SCTrans.h" WSADATA wsaData; SOC...
[no replies]
by Firsum
Text-Based RPG -Moving-
 
Hi guys!! I'm working on a simple Text-Based RPG in C + + I just finished with the movement...
[5 replies] Last: I am enlightened! Thanks Disch! (by Firsum)
by Uni616
Segmentation Fault.
 
Edit:
[6 replies] Last: EDIT: (by Uni616)
by Null
x!=x vs x=!x
 
Hello, why x!=x doesn't equal x=!x ? int main() { bool b=true; b!=b; // == true , but I...
[8 replies] Last: Sorry, instead of 'not-equal' I should have said 'inequality'. :-\ (by Duthomhas)
C++ program (1,2)
 
Heyy guys, my code is below..i don't know what is happening but when i enter the first month in the...
[23 replies] Last: yea..thanks for ur hlp bro i really appreciate it (by qwertyasdfgh)
by ZALGO
terminate called after throwing an instance of 'std::out_of_range'
 
Hello everyone I'm new to C++ coding and i just registered on the site (nice forums!) I started ...
[4 replies] Last: Hi Albatross I never erase a string variable i only use .erase( ) ... (by ZALGO)
Circular Queues
 
Hey guys. Could anyone point me to some reference material concerning circular queues, or try to exp...
[7 replies] Last: Deeper Knowledge? Its like you want to know the biography of Newton an... (by Mike Sandy)
by wtf
operator not working.
 
I would appreciate if someone can tell me what I'm doing wrong with my operatr(). Some of the val...
[4 replies] Last: // you just put it to reserve memory, why are you change it to null? ... (by wtf)
New Pointer has the same address as an existing pointer
 
I have the following situation. The weird thing is, is that this issue only pops up after a few node...
[12 replies] Last: Its nice to have a nice community like here on cplusplus.com, Its a we... (by officialhopsof)
Static variable inside a method
 
Hi This is more like a performance evaluation. I hav a static integer variable 'count' insi...
[5 replies] Last: +1 kfmfe04 That goes for all variables of all types. (by jsmith)
Clean way to call a class oprator in the class body
 
Is there a cleaner way to call an operator of a class in it's body than using this? Ex : (*this) ...
[1 reply] : Call it like you are, or like this->operator ( key ) = val; // ... (by jsmith)
by yulz
multiplying multiple/dividing variables in function giving 0
 
hi im having problems with the return variable of a function returning zero instead of the actual re...
[3 replies] Last: +1 hamsterman Not only that, but spell correctly and use meaningful... (by kfmfe04)
October 2010 Pages: 1... 56789... 23
  Archived months: [sep2010] [nov2010]

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