General C++ Programming (Page 50)

Quicksort Template function
 
Hey everyone. I'm having problems implementing a quicksort template function, to sort a vector of cl...
[4 replies] Last: Good point. That resolved that error but creating a plethora of other ... (by optimus203)
C++11 question
 
I know this might be a spam question,and please understand this.I'm new to this forum,so if by any c...
[4 replies] Last: The problem is that in fact there are no books on the new standard. Bu... (by vlad from moscow)
Question concerning accessing vector elements, and classes
 
Two questions: I'm wondering if it's possible to keep track of an element of a vector by using th...
[2 replies] Last: 1: It's better to do any "messing around" via member function of the o... (by Computergeek01)
by taboad
how to read each line and make calculation
 
I have a txt file, and it has 4 columns and 20 rows. What I need is to find a calculation for each ...
[1 reply] : How is the data delimited? (by Computergeek01)
by roarkr
how to find ip adress of running server
 
hi i have a server program running. now i need to specify the ipaddress of this server in a txt fil...
[6 replies] Last: If your server is running on something where it can dictate the host n... (by Computergeek01)
I NEED HELP PLEASE! C++ etch a sketch program
 
Hey guys, i just really need help with a programming i have to create for a class and i honestly don...
[5 replies] Last: You have off-by-one errors with your array indices. Remember,valid val... (by Duoas)
by AARGH
define proficiency and job titles
 
how would you define a proficient C++ programmer? -knowing / memorizing the entire language and b...
[2 replies] Last: The term code monkey doesn't mean junior program. Some quite elderly p... (by andywestken)
Why wont my counter work? Im using classes?
 
if(a<=20){ a+myDice.roll();} cout<<a<<endl; myDice.roll is apart of a class but my cou...
[1 reply] : I think you should change a+myDice.roll(); to a += myDice.roll(); ... (by vlad from moscow)
by sanyam
Analysing a wav (audio) file?
 
Hi. I'm using win 7. Is there a way to get the waveform of a .wav file. for eg. if the .wav file co...
[9 replies] Last: #include <sndfile.h> int main(){ SNDFILE *SoundFile; SF_INF... (by iseeplusplus)
c++
 
please who can solve this program c / c + + lab_7 (lines) Enter a character s...
[no replies]
Mouse and console
 
I've got this code for mouse clicking, getting x,y... now when I put this in: for(;;) { if(_k...
[8 replies] Last: ok, thanks, that's what I wanted to know :) (by tofiffe)
Understanding static variables with recursive functions
 
Hi, I'm currently practicing with recursive functions and I'm a little confused with static varia...
[8 replies] Last: Got it, the thing I wasn't understanding is the fact that any local va... (by fstigre)
Moving Direction based on sprite rotation [SFML]
 
I'm trying to make my sprite move in a direction based on its rotation, for example if its rotation ...
[7 replies] Last: Thanks hamsterman/Disch, I've got it working perfectly now, switching ... (by Zephilinox)
postfix evaluation
 
Hi, i'am trying to read postfix expression from txt file and evaluate it the input is 10 5 * ,the ...
[2 replies] Last: he only pushes 10 & 5 into stack, and gives final evaluation as 5 !! t... (by maha 5aled)
forward declaring an enum Vs forward declaring a class
 
It is not allowed to forward declare an enum, but it is allowed to forward declare a class. The reas...
[1 reply] : Take look at this. http://stackoverflow.com/questions/71416/forward-... (by IceThatJaw)
PigLatin Program
 
Hi, I'm currently learning C++ and I have this PigLatin program to write, and while everything compi...
[3 replies] Last: I figured it out... I forgot to include #include <string> thanks coder... (by shogun525)
by cshu
How should my program look?
 
ENGR 230 Program 9 Assignment My First Array A component used in the elect...
[1 reply] : what do you want from us here? to do your homework? make an attempt th... (by GFreak45)
How to read image file and allocate memory using malloc?
 
I am new to compiling in linux environment. Anyway, I have a source code in C which is suppose to re...
[5 replies] Last: Anyway, when I change the line to fscanf(file,"%c", &frame[i + nx * ... (by skyjuice)
How solve problem, am too dumb...
 
I posted the following on stackoverflow: I'm working on Interview Street's "Unfriendly Numbers" ...
[12 replies] Last: Thanks! I tried it that way: import sys nandk = sys.stdin.readline... (by creekist)
Does initializing take longer than declaring? (1,2)
 
This seems like a basic question, but I'm having trouble finding the answer by searching online. I ...
[28 replies] Last: isnt declaring putting down the dat type with var name and initilizati... (by Aramil of Elixia)
Pages: 1... 4849505152... 80
  Archived months: [mar2012]

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