General C++ Programming (Page 78)

Help Changing Array Of Characters To A String Array
 
I have an array titled: char TypeOfSong where the array size is 15. I am reading data from a file i...
[5 replies] Last: It will contain pairs 'C', std::string( "Country" ) 'D'. std::string... (by vlad from moscow)
Overload << Operator with Input Parameter
 
Hi, Here is what I am looking to do: // class constructor as log file input Logger log(file_...
[4 replies] Last: Again, thank you very very much for the help. It does work now as memb... (by vezinadj1)
Problem with comparing strings
 
Hello, i have a problem with comparing 2strings... I made a database program using files. I have a ...
[3 replies] Last: @En3rgy16 Please, enter any book on C++ for beginners and investiga... (by vlad from moscow)
Programming a USB A male to A male cable
 
I would like to try out programming a file transfer program by connecting 2 computers using an A mal...
[1 reply] : Bump. Nobody? (by lazyCrab)
by Rousan
Use switch structure nested in sentinel¬-controlled while loop.
 
can anyone please write aprograme that does the following: please!!!! In a CS115 Café there ...
[no replies]
Question about test scores program w/ pointers
 
Hello all, I have created a program that allows for a user-defined number of test scores as input...
[2 replies] Last: Yes, but how do I create a function that can determine exactly how man... (by closed account 3UMLy60M)
How do I overload variables in derived classes?
 
Is it possible to overload a variable in a derived class? Example: struct Circle { int rad...
[7 replies] Last: @benbalach Everything works! How does the line of code above work exa... (by vlad from moscow)
self object
 
Can a C++ class have an object of self type?
[11 replies] Last: Simulate a null reference via an exemplar. #include <iostream> #incl... (by JLBorges)
by SeBeQ
Free() problem, app crash
 
Hi everyone! I get problem with code from tutorial NeHe OpenGL int LoadGLTextures() { ...
[2 replies] Last: Thanks for reply I will choose another library with different functio... (by SeBeQ)
How many times do you usually need to compile?
 
In a scenario where you wanted your program to work on almost any PC with an OS no older than Window...
[4 replies] Last: for as long as my compiler doesn't give me errors. For easy errors to ... (by DeXecipher)
Basic Program to take an integer and returns 0 and 1s of that digit.
 
Create a Program That will take an integer and return a certain amount of 1 and 0's depending on the...
[no replies]
by jh79
Saving and Recovering a file named by an user-entered parameter
 
I'm currently using C++. Need help in the following, 1. How can I save a text file using a param...
[1 reply] : 1. Use cout (http://www.cplusplus.com/reference/iostream/) to get u... (by tcs)
by MM45MM
creating a generator assistance-PLEASE
 
I need some assistance, creating a generator that would create binary com files. I have the simple ...
[no replies]
Compiler stops working? :S
 
I have this code, and basically what I have to do is take the info from two archives to some arrays ...
[8 replies] Last: Added variable cont2 for the second array. Still, I don't think that's... (by StarCharm)
by seiji9
one dimensional array
 
Is it possible to prompt information from user then display the result in a one dimensional array fo...
[7 replies] Last: @MiiNiiPaa "cin >> gross ; err... shouldn't it be cin >> gross ;" wait... (by seiji9)
by hvigil
How to start counting time ?
 
Hey , I want to know if there is a function or library that starts counting time when the program st...
[2 replies] Last: #include <iostream> #include <chrono> // C++11 int main() { usin... (by JLBorges)
Calling functions of class and outside with same name!
 
Hey friends... Long time didnt use forum... But now i got a fairly interesting thing to get solved. ...
[7 replies] Last: I realize your example may be for demonstration purposes only, but ple... (by xismn)
Connecting rooms in grid map
 
I have a map that is full of 4+ rooms each with one randomly selected door on one of its sides. I n...
[8 replies] Last: Thanks so much for your help Disch. This is about what most my maps lo... (by orourkeh)
C++ counting arrays output help?
 
Hi, I was wonding if anyone could please help me with my programming. I got most of my programming d...
[1 reply] : This code is already invalid i= 0; while(i < n-1){ Let assume that n... (by vlad from moscow)
C++ arrays in function
 
Write a function named "sum" that takes as its arguments the following: (1) an array of floating po...
[2 replies] Last: It is not a question on programming. It is a question on arithmetic. D... (by vlad from moscow)
Pages: 1... 7677787980... 89
  Archived months: [mar2013]

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