Beginners (Page 2)

What would be a method to call a user input from one function to the main function?
I'm trying to do a project for school, and I'm a little stuck. I have to simulate gas consumption of...
[1 reply] : Read Did you see ther... (by keskiverto)
Prime numbers
Hello, I want to make a program which checks how many numbers are 'till it meets number 0. I've tr...
[9 replies] Last: change line 8 with: int x = 1 because i start on loop with i = 2 ;... (by ar2007)
Reading integers from a text file and fork() a child process
First time post and I am out of my league, so I apologize up front. I have reviewed C++ for Beginne...
[2 replies] Last: Thank you! Very slick and it compiled nicely in I need to go... (by gjtarbert)
by Ic4ru5
RNG point generator crashes at 13 for unseen causes
I am attempting to write code that will generate a number of points based on an inputted value, on (...
[3 replies] Last: it was my understanding that if you were to assign a number to a slot... (by Chervil)
Error in file
#include <iostream> #include <fstream> #include <string> #include <vector> using name...
[13 replies] Last: Now i am understanding thanks @chervil (by bird1234)
Ending loop
When i enter an empty string, the program ends the way it should but it has a weird that comes up an...
[5 replies] Last: Ok thanks (by fivestar)
by Denix
Writing a variable into a folder
Hi my savios :D What I´m suposed to archiev wwith this Code is 1st: generate primal numbers, che...
[10 replies] Last: See this link: and pick... (by koothkeeper)
Array deletetion and convert problems
Hey guys im suppose to be creating a bag adt for a code that a professor has already created. i am h...
[4 replies] Last: You don't need pointer and they would not help anyway. it gives the ... (by coder777)
by ShadeT
NEWBIE! In over his head (MOTOR CONTROL, pointers, classes and whatnot
Hello All! My name is Chris, 32, from The Netherlands, and currently im working on a project for...
[6 replies] Last: Ok, I have something working now, i used an if function (not elegan... (by ShadeT)
Have anyone knows how to create recursion function? I need to find the biggest ship and returns it's...
[3 replies] Last: Thanks for the help (by WilliamMorris)
by Meg Li
Problems about linked list
Write your question here. Below is a function that remove the first node of a linked list. Can we ch...
[2 replies] Last: Understand. Thanks a lot! (by Meg Li)
returning a multi dimension array then print it
i cant seem to find a solution to this error invalid conversion from int to int(*) [-fpermissive] ...
[2 replies] Last: thnx (by zeroblank)
Checking equality for Characters
I need to check whether a variable is equal to a character. is that okay? //Modify the previous ...
[3 replies] Last: The original code works fine but requires the user to input the name w... (by Peter87)
by ptb
Linked List - where to start?
I am doing a doubly linked list. I have essentially found the answer and figured it out but I cant s...
[1 reply] : The thing I am having a hard time understanding is the pointer to a p... (by coder777)
user take input in 2d array dynamic 2d
i want to take the input in 2d array but how int n1,n2; int *arr; cout<<"\nEnter The Row :...
[2 replies] Last: thnx (by bird1234)
Need help with C++ String program
Hello I recently came across this problem for my programming class that requires me to build a progr...
[8 replies] Last: WOW!!! I can't believe I missed that... (6,4).. sigh.. Thank you so mu... (by Mortifer)
Array Issue! Assistance Please
Write your question here. Hi all, I am fairly new to coding and really could use some help with thi...
[9 replies] Last: Reverse a string answer: for (std::string::reverse_iterator rit=ans... (by kemort)
After compile 2 error shows
I'm beginner of c++, no knowledge on c++. I'm writing a code for student and module. The requirement...
[4 replies] Last: Hi Tyler thanks for the reply. I did some changes on this code. you m... (by cry8383)
Entering name with space
I need to make my code shorter. In a way that, if a user is asked what his/her name is, they only ne...
[2 replies] Last: Awesome! Thanks man! God Bless! (by decastroenzo)
So I'm almost done with this program but I can't complete the end of it. I was able to do everything...
[1 reply] : Each time a user enters the ticketType at line 69 add one to the count... (by SamuelAdams)
Pages: 1234... 56
  Archived months: [oct2016]

Cannot post in this page. To post a new message, go to the first page.