General C++ Programming (Page 51)

How can I make the program read more lines on the .txt document?
how could this program tell the ID's and Passwords of more than one line in the text document? # i...
[2 replies] Last: There should be many posts already on that. (by lordseanington)
Need homework help
I'm pretty new to programming in C++, and I need help with this lab for school. If someone could poi...
[3 replies] Last: ty keskiverto using getline solved my problem I had. Also OP what did ... (by waketech123)
Initializing via Constructor vs. some other function
Hey all I wanted to get your some of your opinions on this. Let's say for example you're writing a f...
[3 replies] Last: I should of been more specific in that example, constructing the class... (by Renthalkx97)
by cn2105
Binary Search Tree Help
For class we have to create a program that prints a binary tree in vertical, horizontal, and symmetr...
[1 reply] : Printing exactly how you've represented it would be hard because line ... (by dhayden)
sf2 note on/off velocity and aftertouch vs adsr envelope?`
How do I apply a velocity from a MIDI note on/off and note/channel aftertouch to the adsr envelope? ...
[no replies]
by ap117
Tic-Tac-Toe Game errors
I need to fill in the int main() portion of the following code where the first move is randomly chos...
[4 replies] Last: Now that I have who goes first based on whether or not a random number... (by ap117)
by Noori
data structure,20494,30383,00.html can someone have a look to this homework an...
[1 reply] : My first though was that you were a spammer, but on second thought I d... (by Peter87)
Urgent Maze help
How would I fix: 47|error: 'rpnewLocation' was not declared in this scope| 171|error: 'nCols' was ...
[1 reply] : Variable names are case sensitive. For instance, you use the variable ... (by Computergeek01)
by g3rsii
need to aid on a program asap
i am asked to make a program that gets a text from the keyboard and prints out only the lines longe...
[no replies]
How to diplay with decimals?
Hello, I am trying to make the code below display the result with decimals. I tried using setprec...
[4 replies] Last: It worked. Thanks guys. I could of sworn I tried that already. (by tnguy070)
by Glaven
Search User Input Number In Array Filled With Random Numbers Help!
I need to create A program That makes a 12x10 Array Grid Filled With Random Numbers From 0-99. Th...
[1 reply] : First, you need to change Array = rand() % (99 - 0) + 0; to Ar... (by Pindrought)
2D Arrays - Creating virtual Creatures?
So first I have to display a 2D array with all 0s, which is pretty easy. #include <iostream> usin...
[2 replies] Last: Thank you, I was able to finish the project successfully! (by Crypted)
by Jweim
Switch Statement; Summing items
I'm creating a program that is combining functions to show a menu to a user then the user picks numb...
[3 replies] Last: you may consider enumerating the menu or you could use a map :) ... (by mutexe)
Problem Creating a Game of 21
Hi all, I'm new to C++ and I am trying to create a game of 21 as part of a project for my Compute...
[1 reply] : This section: if (hitOrStay == 'h' || hitOrStay == 'H') { int numbe... (by mutexe)
by zepher
template function in struct
Hi All, I understand template functions and how to call them explicitly when no arguments are pas...
[6 replies] Last: > Can this creator be a class or struct instead of a namespace? Yes. ... (by JLBorges)
check if cin ready to read
How can i check cin or scanf is ready to read? There is a method in Java for this (
[4 replies] Last: while (true) { if (cin is ready to read) { cin >> x; ... (by MiiNiPaa)
Help with macro (catenation)
I have some macros, as follows: #define CAT(st1, st2) st1 ## st2 #define STRING abc #define MACR...
[2 replies] Last: Works! Thanks! (by alterecho)
C++ Framework/Tools/IDE/Library ?
Hi all members. I want to know what are the best tools used by the big giants like Google,HCL,Mic...
[no replies]
Need help!!!
I am new to programming in C++, and have got a project on this. Could someone guide me the correct w...
[4 replies] Last: Yeah it has been.... (by closed account 3pf2y60M)
how can i make this mathematical formulation into coding
hello..i dont know if the title suitable i have this math formulation HM ei x (exp 0.05(rnd[...
[2 replies] Last: 1) random requires a range as parameter 2) You declare a double r ... (by YokoTsuno)
Pages: 1... 4950515253... 57
  Archived months: [oct2014]

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