Beginners - May 2014 (Page 13)

forward_list
 
How would you write the following program using a forward_list vector<int> vi = {0,1,2,3,4,5,6,7,...
[4 replies] Last: oh alright, thank you for your help with this one and the other. :) (by closed account EwCjE3v7)
Sugestions For Beginners Project
 
Hello guys! Recently began using C + + and programming in general. Just thought I'd check with you k...
[7 replies] Last: You could try looking at this list of ideas: http://www.cplusplus.co... (by Codermik)
loop problem
 
Why does the following loop never exit? vector<int> vi = {1,2,3,4,5,6,7,8,9}; auto iter = vi...
[3 replies] Last: Oh thank you all, so I would need to do iter += 2; to fix it. Thank ... (by closed account EwCjE3v7)
Word Wrap Function
 
Hi all, I wanted to practice my beginner skills with a little text game, but I want a word wrap func...
[17 replies] Last: Looking at it now, there's still an error in the code. The <= on li... (by cire)
Matching array values
 
What is the best way to go through the 2 arrays to see what numbers match what. I understand that I ...
[7 replies] Last: Sorry, read through the question quite quickly. My mistake. (by benbalach)
What are lambdas really about?
 
I was reading the chapter on generic algorithms in C++ Primer 5th Edition, Lipman,Lajoie, Moo. I was...
[6 replies] Last: @Computergeek01 - thanks for taking the time to post this reply. (by closed account z0My6Up4)
access reading and writing violation for no apparent reason.
 
okay so my program is about Little Alchemy. I have made the game actually. Four different classes. E...
[no replies]
by locolo
Function Crashing my program
 
why is the function crashing my program?? what would b the right way to do it?? char valid_...
[1 reply] : This is what you have: char array = "abcd"; int i; if ( arr == 'X' ... (by keskiverto)
Compare 3D Points to get the vertical line between two points
 
Hi, I have some 3dPoints given and now I have to calculate the angel between every Point and the ...
[3 replies] Last: That doesn't answer the "angle of a point" question. Lets ignore that... (by keskiverto)
Help with *Creating Text*
 
Hello everyone, So I created a menu and now I am trying to add text to the main window but for so...
[1 reply] : You might want to post this over at the Windows Programming forum. (by kong288)
by yepMe
Problem with socket programming
 
Hi all, I am trying to run a socket programming on qnx momentics on IDE 4.7 , the code was writte...
[1 reply] : You are actually trying to port Unix comms code to Windows. There's j... (by kbw)
Proper way to access Objects within objects?
 
I am attempting to access members of an object that I have created within another object but the pro...
[7 replies] Last: Edit: there is no information about the kind of relationship, ¿why d... (by CodeGoggles)
Could someone check this code for me? I want to read a .dat file as a matrix and then print this matrix on screen.
 
with the following code, I want to read a .dat file as a matrix and then print this matrix on scree...
[1 reply] : snum is short (~16bit) while fscanf(fp,"%d", requires int (~32 bit... (by coder777)
pass by reference with function prototype?
 
Write your question here. I am new with pointer, and i don't really understand how it works in func...
[9 replies] Last: Thanks : ) (by eq1eq2eq3)
Any better draw square algorithms?
 
I am trying to create a square and in fact I did succeed, however I know there are other simple ways...
[8 replies] Last: More stuff that's hard to do in a console, yet easy to do with a graph... (by Disch)
What does a pointer exactly pull to when you make it "null
 
When you make a pointer point to "null" making the head of the last element of a linked list point t...
[5 replies] Last: the pointer has to point to something No, that is the point of a nul... (by Lachlan Easton)
Comparing Strings help!
 
I have to write a palindrome program. The main issue I am running into is, if I input Race Car, i...
[3 replies] Last: Yes, skip all spaces since they are not of importance when checking fo... (by closed account j3Rz8vqX)
Need help with code!!
 
Part 1 - Balanced Symbols Check (10 points) Determine and report whether an expression is balanced....
[2 replies] Last: could you help me with the code? (by claudilla)
by Twin
arrays issue
 
Im having a problem with this program that uses a multidimensional array. Everything works as expect...
[7 replies] Last: Provided (of course), that maximum was initialized to 0. And that ... (by CodeGoggles)
May 2014 Pages: 1... 1112131415... 55
  Archived months: [apr2014] [jun2014]

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