General C++ Programming - March 2010 (Page 18)

Undefined Reference errors...can't seem to find the source
 
I've been attempting to compile my program to test a few functions out (mind you, it's incomplete) a...
[9 replies] Last: I'm dumb. I thought I linked those, but I guess not. I definitely owe ... (by Renascent)
i need to edit the size of the data subchunk in a wav file
 
im using file handling in c++ to edit wav files . this is possible because wav files are uncompresse...
[no replies]
Defining class of rational numbers
 
I wrote the program but I cant get it to work.. any help would be appreciated #include <iost...
[2 replies] Last: the program runs fine but when i enter a fraction it ends the program (by themaster88)
Quick Question, Assignment due soon (1,2)
 
Hey guys, When I compile this code, it says it compiles successfully yet when I run with debugging,...
[22 replies] Last: yah ryt... its not allowed here dude as they say... i have learned ahe... (by god)
How to output to a file
 
Hi: Thanks to all who read and help :) I have an algorithm that is churning out a bunch of fac...
[6 replies] Last: Microsoft's console has been incrementally improved over the decades a... (by kbw)
by Darqam
C4305 error (__int64 and size_t)
 
Hello, I have recently come across a problem in my program, the worst part is that it is my last ...
[5 replies] Last: Disch, sorry I had not seen the response (posted same time). I was ... (by Darqam)
by Lyven
Random function does not work random
 
Hi guys For an implementation of the travelling tournament problem I'm in bad need for a random f...
[1 reply] : Ok, found the solution, because I use the function alot with large fre... (by Lyven)
by AJalex
Error when using iostream and fstream
 
Hello, i have a problem when compiling my C++ solution. The problem starts when i include iostrea...
[no replies]
Pointers of template class in another class
 
Hey everybody. I am currently facing a problem with pointer of template class, and i cannot see any...
[6 replies] Last: Thank you so much for your answer Disch!! Very interesting and worthwh... (by lorenzo17)
by Bobbyk
Area under a curve
 
Hey all............. i need to find the area under a curve for an engineering problem i have, using...
[3 replies] Last: You might find a for loop to be useful for such an application. Give ... (by moorecm)
c++ organization question
 
Hi, I have already designed two classes with templates for "Vectors" and "Matrices" as follows (jus...
[3 replies] Last: The shape you see on a grid has just been rendered there, the shape (c... (by kbw)
putting more than 2 results into one <vector>
 
Hi: Thanks for looking and responding! Question: Is it possible to put more than one result int...
[1 reply] : Vectors can store arbitrary numbers of elements. Just call push_back ... (by jsmith)
by hdinn
reading from text file and fill into array
 
hello everybody, well..i have a text file as an array 4*4 like this 0 0 1 0 1 0 1 1 1 1 0 1 0...
[4 replies] Last: thank you tummychow but when i want to verify the array is that was fi... (by hdinn)
multithreading problem
 
Hi all, I have's an example of what I have: vector<int> global_vector; int Thread(void*){ ...
[5 replies] Last: If you're locking within a process, use Critical Sections instead of M... (by kbw)
by Lauke
Glut + Pthread
 
Hi guys, i'm a beginner about open gl, but during this week i learned the basic about it... So hmmmm...
[1 reply] : IIRC, OpenGL is not thread-safe. (by helios)
by ZaZu
Using arrays in a loop
 
Hi there, this is my first time here, so hello to you all :) I read some tutorials from this site a...
[5 replies] Last: An array is a set of elements. The distinction is critical if you plan... (by tummychow)
STL List
 
Hi all, I need help manipulating an STL List, I need to be able to populate the list with values...
[2 replies] Last: thanks for your help...but now I'm stuck again...I need for the output... (by vthokie11)
i dun understand.. what's happenin in my code?? :((
 
ok, here's the code: --------------------------------------------------- #include <iostream> #inc...
[4 replies] Last: `hey guys, thanks, i got the code w your help ! ! ^_^ (by codemunkee)
Using bool type in arithmetic operations
 
Is it bad practice to use the bool type in arithmetic operations, in particular with non bool types?...
[4 replies] Last: how it's implemented depends on the situation and the compiler. The... (by Disch)
by Daenyc
Console Character Manipulation (1,2)
 
I've been trying to create a basic console progress bar for a program I have (it calculates PI but c...
[20 replies] Last: *rubs eyes* How did I miss that? Okay, well, aside from me putting in ... (by Daenyc)
March 2010 Pages: 1... 1617181920... 23
  Archived months: [feb2010] [apr2010]

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