Beginners - June 2015 (Page 10)

by Deivux
Code is not working
 
I'm new in C++ programing, so I don't no why me code is crashing.I have to sort the information and ...
[9 replies] Last: Can I just question the logic of: for (int i = 0; i > n - 1; i++) W... (by Vortex47)
by Ch1156
string find function help
 
I am trying to learn all the member functions for string and I am having a hard time making a progra...
[14 replies] Last: The parentheses, the parentheses (and the precedence of operators). S... (by keskiverto)
Multiple definition error using Dev-C++
 
Hello, I am attempting to code a stack structure in C++ using the Dev-C++ compiler. I currently have...
[6 replies] Last: no, the linker resolve's everything itself (by heepoo)
Help
 
My project was to create an 8 Queen with a chessboard that is 8x8. My problem is, i can't seem to un...
[3 replies] Last: did you solved it yourself? you should post a sample text file, which ... (by anup30)
Pointers or References
 
I hope all is well programmers! I am currently trying to store some values in some variables within ...
[7 replies] Last: I should try to use -1 to indicate not found? Well, it is one common... (by andywestken)
Help with strings.
 
Hi! I'm new in c++ and having a hard time with string. When i put a space, only the last word will p...
[2 replies] Last: i tried to remove line 14 but after i put a name with space, nothing h... (by closed account zwpL3TCk)
Random string generator generates same string
 
This is a random string generator. It works fine but there is a problem. When I try to generate two ...
[2 replies] Last: Thanks a lot :) (by spsrijan)
row table pb
 
I would like to have the total of each row of a table. How to do? exemple 1 5 8 ==>14 2 4 1 =...
[14 replies] Last: i added diagonals, but it don't work when i try 2 7 6 ==> 15 9 5 1 =... (by julieen03)
by wt1155
Can someone help me with this linked list question ?
 
Objective: 1.To understand linked list concepts 2.To write a solution for a given linked list rela...
[2 replies] Last: #include <iostream> using namespace std; class LinkedList { struct N... (by wt1155)
by ferrad
Initialization of static arrays
 
I'm trying to write a security wrapper which checks 3 types of security. It make the security check...
[4 replies] Last: It looks like this code is working in Debug, but not Release. Could o... (by ferrad)
Importance of this specific piece of code in producing the correct result?
 
Why is the piece of code: " getSeconds(&sec);" necessary to produce the correct result? With the ...
[1 reply] : time(NULL) returns the current time. If you don't use that, than y... (by Won)
Help with a poll problem.
 
Here's exactly what the problem asks. Write a program that provides the option of tallying up t...
[1 reply] : Line 39 is wrong. http://www.cplusplus.com/faq/beginners/logic/#or-vs-... (by MiiNiPaa)
escape sequences and C++11 regular expressions
 
Hello forum, I am extracting a line with the getline function and it contains the following ...
[17 replies] Last: There should be no space at the end of regex. (by MiiNiPaa)
passing pointers in data slicing example
 
I know what & how pointers and references are used. At least I thought I did. I came across this co...
[1 reply] : > Here is my confusion. For example the valuefunction above accepts a ... (by ne555)
What is wrong ???
 
Ok so I'm trying to make an array of a structure with constructor arguments but it's not compiling ...
[1 reply] : It works fine here, please post the error message... (by Gamer2015)
by awoit
Output from a .txt file issue
 
I am trying to get my text file to be read and then have it output. I keep getting a blank black cm...
[3 replies] Last: Are you sure the file is actually opened? if(!notepad.is_open()) c... (by admkrk)
Question about class constructors
 
So here is the question about this linked list. I understand linked list more then ever ,but the pro...
[4 replies] Last: I gave an example of the algorithm here: http://www.cplusplus.com/foru... (by kbw)
I need help understanding this block of text
 
Write your question here. I don't understand what the extra uses of point are in the rectangle clas...
[1 reply] : The Point at the bottom is the actual values of the points, the upper ... (by tristan1333)
Dynamic 3 Dimensional Array Crash
 
The program crashes on the last loop right after J is updated to the value of one. Why does this no...
[4 replies] Last: Mike, pay me no nevermind. I'm getting back into code to try to keep ... (by shawnlau)
by Doge1
Validating if First name & Last Name is Typed Correctly
 
I need to write a program that checks if first name and last name are correctly typed in, the progra...
[7 replies] Last: grrr i didnt see his second sneaky post :/ (by mutexe)
June 2015 Pages: 1... 89101112... 32
  Archived months: [may2015] [jul2015]

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