General C++ Programming (Page 39)

by abc1
switch statement
Hi, how to convert the following switch statement to if-else statement char ch; switch(...
[6 replies] Last: char ch; if(ch=='w'){cout<<"good"; }else if(ch=='s'){cout<<"ver... (by jasonwynn10)
C++ Help
I need help finishing an assignment. How to pass my array to the function and return it as a sorted ...
[2 replies] Last: please use code brackets. It makes the code easier to read and copy. ... (by jasonwynn10)
Returning to menu
[3 replies] Last: the code is still incomplete. (by jasonwynn10)
In-memory execution problem (1,2)
hello! i am facing a serious problem when trying to make an in-memory execution program. char cod...
[38 replies] Last: I found the problem. PVOID istead of void and everything run smo... (by vladimirr)
Getting an undefined reference error
[7 replies] Last: > I just want to have the code in it's own little package Use a namesp... (by JLBorges)
Memory leaks
Hello, i'm searching a programm that can detect a special type of memory leaks, like these: i...
[8 replies] Last: > I guess you can do something similar in Visual C++ With Visual C++,... (by JLBorges)
by anhnha
Writing name in C, C++
Here are some definitions of class, struct and union. class CFoo { // CFoo is a CLASS define...
[2 replies] Last: I tend to agree the naming convention was used to indicate they were c... (by AbstractionAnon)
Returning 2d array from function?
Hello How can I return a dynamically allocated 2d array from a function? do I use like this: int ...
[8 replies] Last: done I did like this (*(ptrChar+i), word)..its working btw I had to ad... (by csstudent123)
by LB
Unusual C++/Qt syntax[code firstline=...
[2 replies] Last: That's pretty crazy, I've used the identifier slots before in my cod... (by LB)
by Salvo
Simple GUI
Hi guys, I am planning to write a software with GUI which is thought for people with no informatics...
[1 reply] : This is what RPMs are for (or whatever package management system you w... (by Duoas)
Let's Play a Game
The authors of the PVS-Studio analyzer invite you to test your attentiveness. Code analyzers neve...
[no replies]
class inside of another class?
Hello people of the forum. i'm having a problem, i make a class inside another class, and now i can...
[4 replies] Last: i tryed Graphic::Draw draw; draw.Line( ... ); and this solved t... (by TheLeandroNex)
by anhnha
function in C++
Hi, I am new to C++ and please help me with some problems. Here is a code that I am confused. ...
[4 replies] Last: Thank you, MiiNiPaa. I have no problem with whitespaces in a + b but i... (by anhnha)
by nicow
Couldn't deduce template parameter for integer
Hello everybody, I have the defined a class Seconds with a template<int,int> constructor. Unf...
[4 replies] Last: Just made both my mistake and std::ratio much clearer. Thanks so much. (by nicow)
New to C++.. need a little help
Hi there, I'm somewhat new to C++ and need a little help finishing this program.. So what it basica...
[1 reply] : Show your GetNumbers() function EDIT: line 128: syntax error. This co... (by MiiNiPaa)
by AceK
C++ on the Web
hi there guys, I want to develop a C++ program that can be accessed via the web. I cannot use script...
[3 replies] Last: Thank you for your reply but I need to develop this program now, so ca... (by AceK)
for loops help...
I want to create a specific number of for loops each in another loop, as in example: for(i=0;i<9...
[2 replies] Last: Cool! thanks! (by hakeris1010)
-_-tools for obfuscate(compress | pack) C++ Portable Executeable(PE) files-_- Is there a program like smarta...
[11 replies] Last: Thank you people for the help, I think my situation is not important a... (by Silverlight)
by judo11
How do I use getline with switch statement?
I have a problem with the switch statement because it doesn't prompt me to input something. #inc...
[5 replies] Last: lisura pud sabton ana uie. (by judo11)
What does a virtual function really do?
Hello. I'm confused on what a virtual function really does. So far, I've learned that a virtual func...
[1 reply] : These articles can be helpful to you: (by MiiNiPaa)
Pages: 1... 3738394041... 56
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.