General C++ Programming - September 2011 (Page 4)

release mode question
 
hi all my friend . when i want to release my project in multithread mode the compiler take : Warn...
[4 replies] Last: i have several thread in my program just want release them with exitpr... (by ahura24)
by vi87
Return -1
 
Hi guys. How can I return 255 in this function when char& is not const??? char& myStri...
[4 replies] Last: Thanks for your answers guys. Sure thing that exceptions are the way... (by vi87)
USB device as input
 
Basically I would like to know if you can take the output of a USB device and use it as your input f...
[1 reply] : The computer communicates with a device using a device driver. Assumi... (by kbw)
by Noel
counting words
 
Hello i am just beginning how to program and my assignment is to be able to count the number of char...
[1 reply] : I will start with the basic logic pattern: first off I would start wi... (by Azagaros)
Help can't figure out my mistakes
 
Program Description: This test, or driver, program, which demonstrates the "while" // A-1-1-02 ...
[5 replies] Last: In your 'class payroll', you CANNOT have a program running. A class is... (by whitenite1)
by gh24
Help Outputting Data into CSV from C++
 
Hi guys, I am having trouble getting my code to output the data into a CSV file. Here is the mai...
[5 replies] Last: The file the example creates is CSV format: 3,1.2345 4,6.7890 5,3.14... (by Duthomhas)
Writing my own String-Split function
 
Hello everyone, I have been programming in C++ for about six months now. I was helping a friend wit...
[5 replies] Last: Playing with string tokenization is something I enjoy. I've written ab... (by Duthomhas)
by vizard
Weird runtime error
 
WHy does this program work when the latter program doesn't? #include <iostream> #include <vect...
[1 reply] : I would assume it is because in the case where it does not work there ... (by LB)
by LB
Trying to make an INI Parser - almost working!
 
I'm having trouble reading group names in my INI parser... I have this code as part of my class: s...
[no replies]
by Phiru
I am capturing Audio...
 
Hi. Im working about capturing audio from Mic. it works when i use only one sound device. Howeve...
[2 replies] Last: Thanks Computergeek01. And Yes, You're right. I am using Win32 API. I... (by Phiru)
any way to run a while loop after an if statement without using else?
 
I want to check something in an if statement, then regardless of its result run a while loop after. ...
[6 replies] Last: -- removed since resolved (by navlelo)
String to int
 
I'm reading input from a file and I need to input part of it into an integer. The problem is I'm us...
[1 reply] : Here is one way: #include <sstream> void func() { int i; st... (by Galik)
by Mat001
Knight's Tour - exit condition
 
Hi all, I'm touring a knight on a chessboard in L-shaped moves. The knight needs to avoid already...
[1 reply] : In order to know if the user is "stuck", you'll need to check all poss... (by Disch)
problem in compiling a chat server app using a vs 2010
 
im working on a command line chatting app i am done for now but my only problem is that i cant c...
[3 replies] Last: seems like it can't find chat_server.h , add it to the directory The ... (by tech junkie)
by Snhr
Organizing My Music Library
 
I've been looking for a reason to get programming in C++ again, and I realized for my to get my musi...
[1 reply] : It seems like a fun project, but programs like this already exist. ... (by Disch)
Eclipse CDT Error: "Type can not be resolved"
 
Hi all, We've got a legacy c++ system under a linux server and using samba to share the code..I a...
[4 replies] Last: I am experiencing the same error even after taking an existing makefil... (by steowens)
Error Compiling a chat server app with SC
 
im working on a command line chatting app i am done for now but my only problem is that i cant c...
[no replies]
liked list method to delete all elements with a given value
 
-- removed since resolved
[6 replies] Last: nevermind, sorted it with an else if -.- (by navlelo)
Secure Coding Course for C/C++
 
Klocwork and Security Innovations have an online course that may be of interest to C++ developers: h...
[no replies]
What is up with this undeclared identifier?!
 
I'm trying to create a simple program that prints all of the prime numbers between 3 and 100 using X...
[9 replies] Last: Can you show me your whole code, updated and with [co de] tags? (by anonymous23323124)
September 2011 Pages: 123456... 31
  Archived months: [aug2011] [oct2011]

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