General C++ Programming - August 2011 (Page 11)

C++ Compilation confusion
 
I have multiple .cpp and .h files to compile as a whole and i cant fully describe it, Some one give me your email/skype/msn id so we can do with teamviewer (Sor...
[3 replies] Last: Yah they have im using visual c++ 6.0 how to do this please give me ur... (by gauthamnekk1)
Passing Arrays to functions
 
Hi all. I am just learning about arrays, and am having trouble passing them to functions. To be honest, I am quite lost. Below is the code I am currently workin...
[8 replies] Last: Thank you so much for all of your help. I sure hope you get paid well ... (by kinneyj)
How do you use cURL ?
 
How do you use cURL to open an internet file? Where can I find the source code? the sites I found were "Not Found"... Here is the main.cpp from an example that...
[1 reply] : Here is some example code that I posted recently that might be of help... (by Galik)
by gibran
Problem: trying to run a program but a different one does...everytime
 
First i used to write little programs for school, then i stopped after the course was over. Now i want to write programs again but this time the new programs th...
[12 replies] Last: Quincy is a very simple IDE. http://www.codecutter.net/tools/quincy/ I... (by Duthomhas)
Please can someone assist...
 
I was requested to modify some code to add some functionality, and when I was validating the inital code I am getting the following error: 1>d:\school\cis326...
[5 replies] Last: Ok, so I believe that I am going in the right direction and just wante... (by luithlej)
c++ problem: help!
 
problem: write a program that should count and print the number of hot days (85 and above), pleasant days (60-84), and cold days (less than 60).
[12 replies] Last: the other one in the thread that you gave is: 1>.\Debug\TheTest.obj :... (by shacktar)
by cgyan
Encapsulating boost::signal and boost::bind code in class method
 
I am trying to encapsulate the binding and connection of a boost signal (which requires the method to call and the instance the method belongs to) within a clas...
[4 replies] Last: Yes, I was beginning to realise this in some of the things I've read s... (by cgyan)
How does fstream work under the hood?
 
How exactly does it read from the hard drive? I Googled for some time, but couldn't find any solid answers. I read somewhere that it wraps platform specific met...
[9 replies] Last: I figured it would eventually have to come down to platform specific s... (by ModShop)
File Input/output to arrays
 
Hi People, Can anybody help me with my problem, I'm really confused. I have an assignment to write a program which will read data from the file text.txt w...
[3 replies] Last: After getting the name, you could load the rest of the line into a str... (by ModShop)
Innodb installed or not
 
Please give the hints to write this program. Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If ...
[1 reply] : For starters, do you know how to connect to a MySQL server? (by helios)
by jpotts
Anagram Solver/ Word jumbler (1,2)
 
Hi, I am working on a Word Jumble, which will hopefully be turned into an anagram solver. I just have two questions. If i have the user input a string such as ...
[20 replies] Last: Wait, was OP going to find all permutations of a word and see if any o... (by hamsterman)
boost::thread doesn't like meshing with OO
 
Hi, I'm pretty new to OO and threading, and am using boost::thread for multithreading my program. My issue stems from not understanding how to launch a new th...
[5 replies] Last: Because it's a parameter to the function. Without it, boost::thread ca... (by helios)
Problem in reading from a file.
 
I don't know much about programming to properly label the problem, but hear me out first. I am to create a program that is to read input from a file. The form...
[1 reply] : Try something like this std::string line, in_str ; int in_int , num... (by hamsterman)
Is This Template Wrong?
 
I'm a little confused about my template function, or maybe templates in general. I have this function: template < typename T > bool CheckForNullptr( T *&...
[13 replies] Last: Using a & won't save you from that. (by hamsterman)
Pointer Help
 
Can you conceive an efficient and effective program/application without pointers?
[2 replies] Last: If you don't like pointers I definitely recommend learning Java instea... (by AaronZim)
by jackie
Allow user to add 4 Subjects
 
Ok, i am have trouble getting my head around on what way should i do a loop for this part of my Program. for (n = 0; n < N_STUDENT;n++) { w...
[1 reply] : I believe the problem is with your definition of the student struct or... (by AaronZim)
Giant Roadblock
 
I'm writing a game engine, but I've hit a mjor roadblock. You see I'm using GLtools and this allows you to easily move a camera around the 3D world, it also has...
[1 reply] : Seeing some code would help me debug. Perhaps you could simplify your ... (by AaronZim)
unresolved external symbol
 
class Character{ public: int getXCoord(); void setXCoord(int xCoord); int getYCoord(); void setYCoord(int yCoord); int itsXCo...
[3 replies] Last: You need to define what the functions do, like you have done for the M... (by closed account D80DSL3A)
PDF converter project
 
Hey, recently I've got a project I wanted to work on to further advance my c/c++ programming as well as help out my girlfriend. Turns out on her nook, it can o...
[2 replies] Last: Thanks, that will actually help a lot :) But a turn of events occurred... (by hherbol)
How can i convert binary to char?
 
I want to convert binary to char. #include <fstream> #include <bitset> using namespace std; int main(){ ifstream file1; ofstream file2; file1.open(...
[2 replies] Last: I solved my problem.Thank u for ur all helps. (by Helegurbann)
August 2011 Pages: 1... 910111213... 29
  Archived months: [jul2011] [sep2011]

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