General C++ Programming - July 2012 (Page 20)

fbc -lang qb -dll "c:\documents and settings\DLL_test_QB.bas" command is not working in System
 
Dear all Please healp.. fbc -lang qb -dll "c:\documents and settings\DLL_test_QB.bas" not workin ...
[4 replies] Last: done... Thanks (by PCastro)
Trouble with linked lists.(Graduation excercise)
 
Hi, I'm trying to do a beginner excercise called "graduation". And I'm getting Unhandled exception ...
[2 replies] Last: conductor->next=0; Line 120 I guess i did... is that important? I fo... (by Vanapapi)
by Null
wxWidgets multithreaded app crashes
 
Hello, I need to inplement a very simple multithreading in my app. I know how to start and run a th...
[3 replies] Last: May be you are deleting the thread which is currently running or locke... (by cpathrd)
declaration
 
i included the header file and its still giving error. here is the code #include "Enemy.h" clas...
[5 replies] Last: If still you have problems, Provide the Enemy.h or Enemy class. that m... (by cpathrd)
if..else.. CONDITION FOR TESTING A PRIME NUMBER
 
Hi everyone, I'm struggling to write an "if else" condition for testing if an integer is a prime num...
[3 replies] Last: it's enough to go from 2 to sqrt(yourmaybeprimenumberorwhatever) (by viliml)
CAN YOU HAVE A MEMBER FUNCTION RETURNING A STRING IN A CLASS
 
Hi everyone, Is it possible to have a member function return a string in a class. for example: c...
[9 replies] Last: @ToniAz: Can ANY function return an array? Any kind of array? No, just... (by viliml)
happy returns
 
Hi. need help completing this. I need to write a short program which returns a report of occupied ro...
[1 reply] : Need more details on what's going on and what the problem is. What do ... (by soranz)
string print problem
 
i used cin >> A >> B >> C; getline(cin , D); and try to print out cout << A << B << C << D; so...
[1 reply] : use cin.ignor() for removing that space. cin >> A >> U >> R ... (by HiteshVaghani1)
Decimal to ASCII char
 
Is there any way to convert an int value to a char value that is corresponding to its ASCII value? ...
[4 replies] Last: There is char itoa(int ) and int atoi(char) function also availa... (by HiteshVaghani1)
string problem II
 
I have to consider two cases P should be : Vitamin A or VitaminA so i used get line for P;...
[3 replies] Last: Thank you ~ (by jake eum)
Floating point types fake numbers
 
#include <iostream> using namespace std; int main (int argc, const char * argv ) { do...
[4 replies] Last: Hello, just adding the aswer, the cause is the representation of floa... (by engelsbr)
Container verses array
 
I am trying to program my first app with the help of dragonfiresdk. I don't have much experience wit...
[5 replies] Last: Hey guys, yeah you can! dragonfiresdk has been a good option for me. I... (by freta89)
CreateProcess(/**/) causing segmentation fault.
 
Hello, my name is legolizard. I am not *totally* new to C++, but I need just a small bit of help. I ...
[3 replies] Last: Beware that CreateprocessW() does not take a const string as second ... (by modoran)
difference between int* and int&
 
Can anyone please explain the difference between these two programs ? Program1 #include<iostre...
[9 replies] Last: well Moschops certainly made a point about the object pointers being ... (by Raman009)
Virtual functions (undefined reference for vtable )
 
//Early and Late binding #include<iostream> using namespace std ; class klm { public : v...
[3 replies] Last: thanks guys !! well , I made the changes in the code and it worked . I... (by Raman009)
New to C++
 
hello! I'm new and i tough myself c++ and i need someone to give me his opinion about this code i...
[16 replies] Last: I think it's fine as is. There are endless ways in which the code can... (by kbw)
by jamesa
need a second pair of eyes! help!!!1
 
my code is short, but i cannot find whats wrong.. #include<iostream> int main() int sum=value=0; ch...
[9 replies] Last: @viliml i forgot int main(){ return 0; } is also bad (by DeXecipher)
by CMarco
file name
 
Hello to all, I have a function here receive some vector's and I put the vector content into a fi...
[2 replies] Last: Thanks (by CMarco)
Arrays, variables, and renaming!
 
Never coded before, just learning some recently to ease a few work tasks... For work, I sometimes n...
[no replies]
by rdx
array of string problem
 
#include<iostream> #include<string> #include<conio.h> using namespace std; int main(){ string ...
[2 replies] Last: actually.... i have wrongly written string array .....it should be :... (by rdx)
July 2012 Pages: 1... 1819202122... 30
  Archived months: [jun2012] [aug2012]

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