General C++ Programming - May 2015 (Page 16)

Coin Counter
 
Program that reads a set of integer values entered on the keyboard, counts them like a coin counting...
[10 replies] Last: ashgirl112, if you're using DEV C++, hit F9 to compile your program. ... (by Little Captain)
Make constant and convert 2d
 
I have a long random static alphameric. I want to put into constant arr const randomNumber [ ] =...
[1 reply] : I believe this is a matrix type algorithm that you will need. Arrays o... (by nadurraXII)
by Ozzy69
How put string with spaces in a array?
 
Hi, i'm difficults in put strings with spaces in arrays. Look my code: #include <iostream> #incl...
[4 replies] Last: you can add an escape sequence... replace getline(cin, aux2); with g... (by nadurraXII)
Beginner array with square root
 
Write a program that declares an array squares of 50 components of type double. Initialize the array...
[3 replies] Last: ahh, i get it you can't use the index variable for the the array and y... (by nadurraXII)
Help
 
I opened c:b but cant find any subject for coding can you suggest some?
[1 reply] : c:b , what are you looking for?? (by nadurraXII)
Please help!
 
It’s your first day of work at Minnesota Ore Mining, Incorporated (MOM, Inc.) and you have been a...
[8 replies] Last: I could probably help. I'm studying descrete mathematics and this loo... (by nadurraXII)
Need Help with Tower of Hanoi
 
Hi I am a new programmer in C++, and i am working with the recursion in Tower of Hanoi. May somebody...
[2 replies] Last: Thanks men, I am really appreciated that, that code is from my instruc... (by thongbatman)
what is wrong for one line it works for array it doesnt
 
#include<iostream> #include<fstream> #include<string> using namespace std; const int max = 100...
[2 replies] Last: also max can't be an array of a string and an int. (by nadurraXII)
Errors setting up DirectX SDK into Visual Studio
 
Hey guys, I've been trying to set up DirectX into visual studio 2013, and my instructor informed us ...
[1 reply] : msdn website. https://msdn.microsoft.com/en-us/library/windows/desk... (by nadurraXII)
I'm getting an error saying "LINK : fatal error LNK1561: entry point must be defined"
 
What should I do? Here's my code: #include<iostream> using namespace std; void pattern(int n...
[2 replies] Last: Is that your full code? If so, then that's probably because you don't ... (by closed account 2LzbRXSz)
by LuSkar
OpenMP in Gauss-Jordan
 
How to parallelize Gauss-Jordan Method with OpenMP? #pragma warning(disable : 4996) #include...
[no replies]
Code Review
 
Here is a program I just started that asks for a name, and then asks the user if they are sure that ...
[3 replies] Last: Hi, You could make life easier for yourself by not asking for a std:... (by TheIdeasMan)
Check to see if string is a substring of another.
 
I'm new to this language and i need a little help. The question asked is to use this function (int i...
[no replies]
Reading size from text file
 
I have to read in this order, an int and then a string on a text file which contains multiple lines ...
[4 replies] Last: If your condition were correct, then you would have no problem. Even ... (by keskiverto)
What is wrong with my code?
 
I am to make a code for a calendar as a school project, and I almost have it finished. However, when...
[2 replies] Last: I fixed that, however I'm still having the same problem.. #include <... (by Coder857)
Accessing data from a nested friend class
 
Hello forum, I have a question on how to access data from an enclosing class. I have a code similar...
[2 replies] Last: ahh ok. oh well, would have been nice. (by armstrhu)
128 bit integer?
 
Hello, I'm currently solving problem 13 on projecteuler.net and I have a problem. I need to store a ...
[2 replies] Last: The thing about Project Euler is they're designed to make you think ou... (by Disch)
Reading random words from file using ifstream
 
Hello World! I am currently writing a password generator in Microsoft Visual Studios 2010 Profession...
[no replies]
Overloading >> Operator
 
Sorry, accidentally edited the post. But I am having trouble overloading the stream extraction oper...
[9 replies] Last: Yeah, it works here without any problems. (by Gamer2015)
Help with doubly linked list ordering
 
Hi, This is not the typical " I can't reverse a doubly linked list " post. It actually does reve...
[2 replies] Last: Ok thanks, I was just asking to make sure. (by cmt9000)
May 2015 Pages: 1... 1415161718... 22
  Archived months: [apr2015] [jun2015]

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