Beginners - June 2013 (Page 24)

by xbili
Pancake glutton
So I've started on doing exercises in C++ according to this thread: http://www.cplusplus.com/forum/articles/12974/ And I'm currently working on Pancake Glutt...
Jun 16, 2013 at 4:20pm
[3 replies] Last: Yes I am sorry forgot to tell you to dereference them. http://www.cplu... (by giblit)
by neenjo
How to give data to another programme from the programme i create
I would like to create a brute force programme. And i would like to test it in a programme that asks for password. So in order to brute force it i must be able ...
Jun 16, 2013 at 4:10pm
[1 reply] : Pipes and redirection is the first option: grep bar foo.txt | sort T... (by keskiverto)
Code getting stuck...
Hello all, Some of you may have noticed that I have recently been posting some ridiculously simple questions for about a week, but I have really been putting f...
Jun 16, 2013 at 3:48pm
[3 replies] Last: [quote=Justin5978]Do you have any idea what is going on with line 26 t... (by TheIdeasMan)
Function Pointer
What is the difference between int (*callback)(double,float); callback = MyFunc; and int (*callback)(double,float); callback point_to_func =...
Jun 16, 2013 at 3:11pm
[2 replies] Last: I see I see. I've been moving on to hooks and procedures since almost ... (by billywilliam)
Give me a better option
Hello I just wanted to ask that is there a better function than systme( "cls" ); to clear the console screen ? Thanks
Jun 16, 2013 at 1:58pm
[1 reply] : If you use the search function at the top of this page, you come up wi... (by TheIdeasMan)
Why did C++ developers made it mandatory to put return type of main as a 'int'
Hi all, I checked some old C++ code online and there I saw the return type of main as a 'void' and nothing was being returned by the function. In Modern C++, we...
Jun 16, 2013 at 1:21pm
[11 replies] Last: Hmm, It seems like I have a lot to learn from you guys. Keep up your g... (by Himansh)
"Program.exe has stopped working"
Hi there! I'm relatively new to C++ and I definitely don't know as much as I should. Case in point: I'm programming a pretty simple, 2D matrix addition program ...
Jun 16, 2013 at 12:18pm
[5 replies] Last: Oh! Doh! Of course, all those arrays are local to main()... Glad you ... (by Duthomhas)
by piczim
Calling a character in c
I am trying to call a character into my code so that I can show it as a declaration before it goes into a calculation. I am not sure how to do this. What I am t...
Jun 16, 2013 at 11:02am
[1 reply] : Hi piczim, Have a read of these - especially the examples: http://w... (by TheIdeasMan)
Classes Object's methods-inheritance!
I want to be able to make a battle scene and put it into a function, but every time i try i have to create objects in a different header file, which i then cant...
Jun 16, 2013 at 10:35am
[10 replies] Last: This should be explained in whatever textbook you're using to learn C+... (by MikeyBoy)
Recursion
Such kind of problem: A1=1000*0.2 A2=(1000-A1)*0.2 A3=(1000-A1-A2)*0.2 ................................ An=(1000-A1-A2-.....-An)*0.2 Need to solve this e...
Jun 16, 2013 at 9:50am
[11 replies] Last: TNX ^^ guys. And special tnx to giblit.)) (by Daler Isoev)
Permission denied (1,2,3)
Hi, for a weird reason, I get 1 error which says : Permission Denied. I don't think the code is the problem because I've tried it with other legit codes and it ...
Jun 16, 2013 at 9:37am
[53 replies] Last: I think there was a clue given earlier. Your anti-virus program is de... (by Chervil)
How to display "Loading..." with having 3 dots animating?
You may have seen in many places "Loading..." where the 3 dots (or more), viz. "...", first appear one by one, then after displaying all the dots, they again...
Jun 16, 2013 at 9:22am
[no replies]
[C++] Program to measure typing speed and accuracy. Done with the speed part, no idea how to deal with the accuracy thing
[C++] Program to measure typing speed and accuracy. Done with the speed part, no idea how to deal with the accuracy thing In order to determine accuracy, eve...
Jun 16, 2013 at 8:10am
[1 reply] : I think you should check based on the accuracy of each character and n... (by giblit)
by dody
array problem
how should i create an array for this question for example question1 = answerA question2 = answerB question3 = answerC question4 = answerA question5 = a...
Jun 16, 2013 at 7:46am
[3 replies] Last: Wouldn't you just do this? char Questions = { 'A', 'B', 'C', 'A', 'A'... (by Chillieman)
Problem with using Fork to write a Fibonacci program
I am implementing a fibonacci program with c++ by using fork() call. I try to rewrite a example from github which write by python. I think the programming lan...
Jun 16, 2013 at 6:31am
[no replies]
Passing Array to a function doubt?
Hi all. #include <iostream> using namespace std; void getSizeOfArray(int newArray ); // creating a prototype int main(){ int myArray ; //...
Jun 16, 2013 at 5:48am
[4 replies] Last: Thanks for these links. I'll definitely check them out. (by Himansh)
Function for Addition displaying result as 1.#R
I have a user-defined function that calls two other user-defined functions and when the console displays "totalBill" it looks like this: 1.#R The car...
Jun 16, 2013 at 2:33am
[6 replies] Last: That was it. I was treating this as a value returning function. When... (by codeDizzy)
Help with simple problem !
hey guy I'm new and a noob in c++ need help with this simple program Airline Booking System write a code to solve these problems as following : 1- Def...
Jun 16, 2013 at 1:41am
[13 replies] Last: You're right about the initializer lists. As for my print method, I li... (by IceThatJaw)
Homework Help Please OSU C++
Hello i am having an issue with the code i am posting below. The code is for an out lab homework assignment for Ohio state university CSE1222. The issue i am ha...
Jun 15, 2013 at 10:19pm
[8 replies] Last: hello devildeuces. bool is_prime(int prime) { int r; for ... (by ar2007)
by cimm
I NEED HELP!!
Hey guys, I would really appreciate your help. I need some code for online store, so if you have one can you share with me? Or only some part, so I can make the...
Jun 15, 2013 at 9:55pm
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ (by giblit)
June 2013 Pages: 1... 2223242526... 49
  Archived months: [may2013] [jul2013]

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