Beginners - December 2016 (Page 18)

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 (obstacle number). The reason the code is using an if(k!=11) ...
[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 namespace std; struct Student { int id; string name; st...
[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 and im not sure whats wrong with it. the message is, (termina...
[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, check; 2nd: stop the while Loop with Esc., check; 3rd Save all ...
[10 replies] Last: See this link: http://www.cplusplus.com/reference/iolibrary/ 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 having troubles with deleting a certain element in a array an...
[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 my education (Mechanical Engineering) at the company I work...
[6 replies] Last: Ok, I have something working now, i used an if function (not elegan... (by ShadeT)
Recursion
 
Have anyone knows how to create recursion function? I need to find the biggest ship and returns it's coordinate, ship can be both horizontal and vertical(like a...
[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 change the function to the second one for that purpose? Why or...
[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] void PrintSol(int arr ) { for (int i = 0 ; i<9 ; i++) ...
[2 replies] Last: thnx (by zeroblank)
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 seem to carry over what the different functions are doing. I ...
[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 : "; cin>>n1; cout<<"\nEnter The Col : ; cin>>n2; arr=new...
[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 program that takes in phone numbers in varying formats and out pu...
[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 this exersize. "Write a program that prints the first letter...
[9 replies] Last: Reverse a string answer: for (std::string::reverse_iterator rit=ans... (by closed account 48T7M4Gy)
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 is need to displayed the module and the student with final ...
[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 need to input one line and the program will reply with the who...
[2 replies] Last: Awesome! Thanks man! God Bless! (by decastroenzo)
Arrays
 
So I'm almost done with this program but I can't complete the end of it. I was able to do everything except the last part that asks to calculate the number of t...
[1 reply] : Each time a user enters the ticketType at line 69 add one to the count... (by SamuelAdams)
looping commas
 
here i have portion of code where im supposed to list data with commas but i am having a lot of difficulty getting rid of the beginning comma for some reason. ...
[3 replies] Last: okay then you could add a flag and if the code is executing for the f... (by shadder)
by radhio
Need assistance how to add title row data in excel
 
Im too beginner in C++. How i need add title data for this code : void ReportDefectPanel::ExportRawData(IReportWriter* pWriter) { if(mStatisticData.empty())...
[2 replies] Last: ok im sorry. (by radhio)
I need help with writing linked list
 
Write your question here. hey guys am new here, i need help writing linked list Write an algorithm USING A LINKED LIST called STUDENT to enter a student’s Nam...
[1 reply] : @Ugursal Convert your algorithm into a C-Program, compile and run it ... (by MisterHyper)
Help with writing value-returning functions?
 
1.) Write a value-returning function named momentum that, given the mass (kg) and velocity (meters per second) of an object, returns its momentum. The formula f...
[1 reply] : Probably doing this will greatly help prepare you for your exam. (by SamuelAdams)
December 2016 Pages: 1... 1617181920... 28
  Archived months: [nov2016] [jan2017]

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