Beginners - April 2013 (Page 49)

Pointer rewrite
need help with pointer homework my return statement isnt working and i cant find in my textbook a good example on how to do it. Problem is: the following fun...
Apr 14, 2013 at 12:04am
[5 replies] Last: First of all there is a typo in this statement cout << (y + z) << " =... (by vlad from moscow)
by Popanu
Storing random numbers into an array
I'm trying to figure out how I can store a list of random generated numbers into an array and then output the total number of times each integer appears. For ...
Apr 13, 2013 at 11:21pm
[7 replies] Last: Thanks for the help, I was able to figure it out using three for loops... (by Popanu)
Take 2 of trying to remove blank lines
So I'm trying to get my program to be able to have a txt file piped though in shell, and just put out the non-empty lines for an assignment. I scrapped the firs...
Apr 13, 2013 at 11:05pm
[3 replies] Last: Awesome thank you so much for your help the above works great. (by spaceybrains)
How can i access the value of a string for declaring a variable
In my program i have a String called extensionTemp that gets a different file extension stored in it every time a loop is run. then i want to create a class ba...
Apr 13, 2013 at 11:00pm
[1 reply] : > For example if it holds a txt value during an iteration of the loop,... (by ne555)
by binbk
I need help with array two dimensions
Hello everybody I am doing the project about Game Of Life. Professor require that there shuold be a function create a menu, a function display the array, a func...
Apr 13, 2013 at 10:45pm
[4 replies] Last: @whitenite Thank you very much. It's very helpful. (by binbk)
C++ graphics
Ok I'm new and I want to get into graphics and someday videogames. I've tried using graphics.h but can't get c++ to find it with the include command. Instead,...
Apr 13, 2013 at 10:05pm
[19 replies] Last: How is it possible to make a programming language? I do have some exp... (by firecannons)
by dipa57
Difference between cout and std::cout?
I dont know when to use "cout" and when to use "std::cout". Sometimes I get error when I use "cout" and sometimes when I use "std::cout" Can you help me pleas...
Apr 13, 2013 at 10:05pm
[3 replies] Last: Thank you all for the quick help :) (by dipa57)
item index problem (1,2)
void readOrder( OrderList *&order , int &orderIndex , int &itemIndex ){ ifstream inFile; string name = ""; string item = ""; string statu...
Apr 13, 2013 at 10:04pm
[25 replies] Last: [quote=MiiNiPaa]_strdate(date.c_str()) No, it's const for a good reaso... (by coder777)
Help with pow() functions or functions in general..
Hey! Can someone please help me with this one. Why dosen't this code compile? I've obviously problem with understanding the prototype function declaration thin...
Apr 13, 2013 at 8:56pm
[4 replies] Last: I'm pretty sure that i tried that before and it didn't work... Oh well... (by coinage23)
scanf char vectors
how can I insert data for each vector and even if it is possible that vector can be char ( bad english lol :( ) code have to be someting like this : vecto...
Apr 13, 2013 at 8:54pm
[no replies]
scanf vectors blahblah
can you tell me how can I insert more vectors in the same time with scanf Inline have to be like this :"name:surname:phonenumber" I have to add n names,surnam...
Apr 13, 2013 at 8:46pm
[2 replies] Last: yes it works really but how to printf that ? (by memkara588)
random number with a range
Hey guys I have a quick question about generating a random number with a range between 800-4000 I have seen a few examples that say I should do this ra...
Apr 13, 2013 at 8:42pm
[3 replies] Last: @ firedraco - thanks I read about it gave me some more insight @ cire... (by youngnito)
Please Help! Printing row/column labels
I need to print the row/column labels of my game board. It is a 10 by 10 board for a battle ship game. I am unsure of how to do this. DO I have to create an ar...
Apr 13, 2013 at 8:24pm
[no replies]
by rgork
Is there any effective way to round a division?
Round to next integer that is. If the remainders are 0,5<, then it should be rounded down to next integer and when it's 0,5>=, then it should be rounded up to n...
Apr 13, 2013 at 7:52pm
[4 replies] Last: Thinking a bit further, since we have integers: int c = a / b; int d ... (by keskiverto)
Weekly Salary Program
Hey guys, you all have helped me loads in the past and I've been appreciative of it all. Before I post here, I try to work out as much as possible rather than p...
Apr 13, 2013 at 7:47pm
[3 replies] Last: If anyone is still viewing this and scratching their head, I did manag... (by Rinches)
Functions with unknown parameters
Hey everyone, I was wondering if it is possible to create a function with unknown parameters and different variable types. For example, an equation function th...
Apr 13, 2013 at 7:44pm
[3 replies] Last: Apart from overriding it might benefit you to do some string manipulat... (by Killordie)
Text manipulation with pointers
Another one of these, I've read a lot of topics here and around the web but I can't find the info I'm looking for. I'm doing a project and I need to modify v...
Apr 13, 2013 at 7:08pm
[no replies]
Simple password checking !
hello I want to check if the 5-entered characters by a users match a stored string but it is not workin....... here is my code : # include <iostream> #...
Apr 13, 2013 at 6:47pm
[2 replies] Last: ok thx I've figured out thx (by PureEvil75)
integer partitions
I have two values from a file and i need the integer partitions of those two numbers. The numbers are 50 and 10. I don't know how to setup the code to solve my ...
Apr 13, 2013 at 6:41pm
[1 reply] : What are "integer partitions"? (by keskiverto)
Help needed figuring out an error!
Could someone please help me work out the kinks? I'm really lost! This program is supposed to read bowling scores from a file, and calculate the final score ...
Apr 13, 2013 at 6:35pm
[2 replies] Last: Thank you so much for the help! I really couldn't figure out where I w... (by chem major)
April 2013 Pages: 1... 4748495051... 83
  Archived months: [mar2013] [may2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.