General C++ Programming (Page 3)

Grade Depends on This ASAP please!
 
Hi, I only have a couple of hours to send this file for a grade but it is not compiling. Could anyon...
[6 replies] Last: Adding the function definitions is simply copying the prototype, remov... (by Little Captain)
I NEED HELp!!! PASSING ARRAY TO FUNCITON
 
I have no idea how to pass array to function... I thought i just need to use & .... int user(in...
[11 replies] Last: @ wh1t3crayon If he wanted to make reference to a static array he cou... (by TheHardew)
how to print all the names from a text file to console/program in alphabetical order? #c++ :'(
 
//Names inside the text files are: Darwin, Bea, Hans, Denzell //I want to print them in alphabetica...
[6 replies] Last: inside the while? after reading from the text file?? (by HashiramaDenzy)
Help with memory leak
 
I have a memory leak, whenever using read (option 1) it appears with an À following the text in the...
[1 reply] : Any time you have something like this: char *Words = new char ; Yo... (by Texan40)
cin not working
 
Hey guys. I've got this code: if (izbor==2) { fstream clientFile("clientFile.txt",ios::app...
[2 replies] Last: After I put the cin.clear and cin.ignore I can type but the program do... (by itsallpoison)
dating service file problem
 
The program i am currently writing isn't properly reading information from the file. I can add infor...
[5 replies] Last: Yeah, thank you so much. The loop worked. (by itsallpoison)
binary tree programming algorithm
 
i want to make a program code that can count these numbers. ive already done the inorder,traversal a...
[no replies]
How to download a file and execute from a url
 
how do i make it so i download a file from a url i choose the install path then execute the file
[1 reply] : You might use libraries like libcurl: http://curl.haxx.se/libcurl/ (by coder777)
Help!!! Void statement doesn't work.
 
#include <iostream> #include <cmath> #include <iomanip> using namespace std; void table(in...
[3 replies] Last: Read this: http://www.cplusplus.com/doc/tutorial/functions/ (by mutexe)
how to display the neighbors of each vertex.
 
#include <cstdlib> #include <iostream> #include <iomanip> #define foreach
[1 reply] : Is this code working or not? As you have your templet class graph in... (by upX86)
display neighbosr of each vertex
 
hi guys. How can create a code to display the beighbors of each vertex in a graph. for example the n...
[3 replies] Last: *cough* code tags *cough cough* I'll check it out tomorrow as I'm on m... (by Homberto)
by Ozzy69
How make a program in c++ that send email?
 
Hi, i wanted make a program in c++ for to the send e-mail with messagens of type: "Sorry, i cannot ...
[1 reply] : I'd make a simple PHP webpage that takes HTTP POST parameters and puts... (by Homberto)
How do i insert a string from a txt file into function?
 
if i have an int main where i ask the user for a txt file then ask them to insert a string into it, ...
[1 reply] : If I understand your question correctly, you are simply trying to read... (by minomic)
I have an idea, and need advice
 
Okay so I have an idea for a game, I have extensive knowledge of C++ but no knowledge of libraries. ...
[5 replies] Last: Should I create my own engine for this 2d game? I don't know if I men... (by FighterCoder)
DeleteFile(String^.c_str()); doesn't work.
 
Hello, I am trying to have a program delete a file using the DeleteFile function passing a string...
[4 replies] Last: I need to remember that using C++/CLI. File::Delete worked, thanks. (by TheMohawkNinja)
Newbie needs help! Game code for Map Game stuck...loop will not loop as intended
 
Can't get this to work...roadblock....help?!? I am new to this and am trying to write game code for ...
[1 reply] : if(space == 1||4) // this is incorrect if(space == 1 || space == 4) ... (by Texan40)
Encrypt/Decrypt string
 
/* i need to encrypt and decrypt a string, using the following syntax. I need help with the encrypt...
[1 reply] : I can't really tell how you want to encrypt the characters? You have ... (by Texan40)
c++ program for stick game
 
user vs computer:On each turn a player can pick up between 1 to 3 sticks. Who has to pick the last o...
[2 replies] Last: You could just start by writing a program and don't factor in the pr... (by mutexe)
little explanation needed
 
Can someone, please, explain what these lines of code do? string slurp(fstream& in) { std::s...
[3 replies] Last: Thank you guys. Really appreciate it. (by itsallpoison)
how to add node in between in a linked list
 
Hi, i am new in linked list, and now i face a problem on how to add the node into middle of a list. ...
[8 replies] Last: @cshingk I am assuming you are showing a list of First names, not L... (by koothkeeper)
Pages: 12345... 45
  Archived months: [mar2015]

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