Beginners - August 2013 (Page 16)

User input into Specified CSV Column
 
Hello all, I've been lurking on this forum for about a month or so as I've been learning C++ and you have all be a wealth of information here. I finally got st...
[4 replies] Last: The '\n' is basically the same as endl, although endl does also flush ... (by jlb)
by inoby
dead topic
 
dead topic
[4 replies] Last: Yeah, now that I look at it, there are a few useless things in the cod... (by inoby)
illegal else without matching if problem...
 
uhmm so yeah.. im a newbie in the c++ programming, here I have a test program that imitates how an atm works, but I keep having "illegal else without matching ...
[3 replies] Last: Ok, Please read this: http://www.cplusplus.com/doc/tutorial/control... (by Superdude)
SDL moving map (1,2)
 
If i was to recreate pokemon how would i do the moving map?
[29 replies] Last: Well? Deep subject. One of the indispensable skills of a programm... (by cire)
"Not Equal" seems to be "Equal"
 
Hello. I am a programming student and I was working on a random number generator exercise when I decided that it might be cool to take input from the user and ...
[4 replies] Last: I would recommend that you add checking to validate the user input. h... (by kempofighter)
by ven132
I need help on Editing Records!
 
Hey guys, recently, i've been working on a program for editing a specific entry inside a text file. The entry format in the text file is: fscanf(fp,"%d %s %...
[2 replies] Last: @kbw Lol thank! :) I found out a way to edit a record by just editing ... (by ven132)
need help with some problems, please help
 
Having trouble with these 3 problems, one problem is figuring out what the output is 1. int x =5, y; while (x >= 2) { y=1; while (y <= x) { ...
[2 replies] Last: for number four would i add at the end? total=total+x+y+z; count=coun... (by closed account oj87ko23)
Why do people write Linked List classes?
 
I am trying to learn how to use linked lists, and all of the tutorials on how to use them have you building your own class to manage the list. I understand how ...
[6 replies] Last: Manual linked lists are also useful when you want reusable nodes, or n... (by helios)
What are references useful for?
 
What a references useful for? Ex int ival = 0; Int &rval = ival
[6 replies] Last: http://www.learncpp.com/cpp-tutorial/73-passing-arguments-by-reference... (by Zerpent)
Binary I/O Error
 
Unhandled exception at 0x5071ad54 (msvcp100d.dll) in BinaryFormatter.exe: 0xC0000005: Access violation writing location 0xfeeefeee. Sorry, I'm in a hurry. I'...
[2 replies] Last: Use appropriate I/O, something like outfile << writeObj.a << ' ' << w... (by treefitty)
ISO C++ forbids comparison between pointer and integer [-fpermissive]
 
Here is the code..why am i not able to set true to a function I defined as check_the_result? when I set the == to false it does not give me an error, only when ...
[3 replies] Last: Others may have a better and more correct explanation. However, false... (by Chervil)
scope rules
 
Hi forum, I have a class only to hold the references of the memories allocated inside another class as follows: class osgOpenCLBufferObject : public...
[1 reply] : The pointer is invalid An invalid pointer is not automagically set to ... (by ne555)
How to start?
 
Hello guys, my name is Vincent, im from Lithuania sorry if my English is not very well, i really want to start programming to develop apps and other things like...
[4 replies] Last: Hey guys! Thanks for help, ok then i think i will try c++! :) Kooth an... (by VincentJatky)
Mini project problem
 
Write your question here. am a student of information technology and am in 2nd year am facing problems in mini project i dont know what kind of topic ...
[14 replies] Last: I think you must change letters position to win,check bottom.+Try it,m... (by Foxefde)
questions I got from Herbert Schildt's book: C++ beginners' guide
 
Write your question here. Write a program that averages the absolute value of five values entered by the user. I cannot figure out why we need to write avg=0.0...
[14 replies] Last: Holy crap! It was really late for me when I posted last... But st... (by Duthomhas)
What am i doing wrong here? question on palendrone program
 
I know it probably looks pretty bad but im very new to c++ here is the prompt: Given a number, reverse its digits and add the resulting number to the original ...
[2 replies] Last: thanks for responding.. im using an online compiler so thats may be wh... (by whatupbeb1)
by sl565
Adding a loop
 
This is my code for a digital clock but it only displays the time once when you start the program. Can someone please help me add a loop so it will keep on refr...
[1 reply] : //Store the current time in a variable //display the initial time whi... (by kevinkjt2000)
by Ch1156
Putting entire array in pointer?
 
I want to know how to write an entire array to a pointer, i know how to write the element but not the entire array itself #include <iostream> using nam...
[11 replies] Last: *pointer == number Compares the value pointed to by pointer with the... (by kevinkjt2000)
Read all lines from a file.
 
Hi. I am looking at how to read lines from a file. I already know how to do this since I am looking at a correct example of this. But I want to know how it w...
[6 replies] Last: Also note that with most current operating/file systems EOF is a state... (by jlb)
August 2013 Pages: 1... 1415161718... 51
  Archived months: [jul2013] [sep2013]

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