Beginners (Page 4)

Arrays
 
Hello, I'm learning about arrays in c++ and have two questions. I have created this program that's ...
[4 replies] Last: I've limited the range of your random numbers to 0 - (RANGE-1), that i... (by lastchance)
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::ExportR...
[1 reply] : Please do not double post http://www.cplusplus.com/forum/general/2040... (by SamuelAdams)
Question regarding reading a file into an array using a while loop
 
How do I use a while loop to read the file into the names array? I know I'm supposed to use getline(...
[1 reply] : #include <iostream> #include <fstream> #include <string> using namesp... (by lastchance)
how to use a using
 
Hi I have a structure defined as an adjacency_list in the private section of a class. I would lik...
[3 replies] Last: Hi JBroges thanks for the help. Works! (by bluefrog)
More in depth explaination of inline funcs?
 
I am in the process of learning C++ and I have come to learning inline functions. I know their purpo...
[2 replies] Last: That is much simpler that I was imagining; your example really clears ... (by cmhubert)
Search in array
 
I'm playing around a little bit with arrays. At the botten of the code I'm searching for a specific ...
[6 replies] Last: Regarding flush/endl with file output. Normally I would avoid using e... (by Chervil)
by mgala
Simple question regarding operators
 
Hello I'm writing a program which runs a lot of functions that run based on the user inputted menu c...
[4 replies] Last: I assume you have closed the other one down. It would have made sense ... (by kemort)
Calling functions
 
Write a statement that calls computeMajorGpa and assigns the result to gpa. Note that this statement...
[1 reply] : Maybe something like this ... double gpa = computeMajorGpa(); ... (by Peter87)
Create a variable number of files
 
Hi guys! I need to write a short script that creates a variable number of output files according ...
[2 replies] Last: Oops! You're right! Thanks! ^_^" (by amivaleo)
making a queue of c-strings
 
I need to create a queue of c-strings, but when I push a new c-string onto the queue, all the item...
[1 reply] : You have only one buffer for the input so you overwrite it every time.... (by Thomas1965)
by mgala
Desperately need help with functions and arrays
 
Hello, can someone explain how functions and arrays interact? Specifically, I am writing a program w...
[10 replies] Last: http://www.cplusplus.com/forum/beginner/204040/ Don't double post and... (by kemort)
Dynamic Array and [] operator overloading issue.
 
Hello, I need some help from experienced folks on this dynamic array I'm creating. I'll get straight...
[10 replies] Last: And here is another example from "Data Structures and Algorithm Analys... (by kemort)
Does "unique" function work in vector<char> ?
 
I thought to find unique elements from a string data is straightforward. But it turned out to be not...
[4 replies] Last: Thanks. So the answer is to sort the string before unique it. (by landlord1984)
using a swap function with pointers to array as parameters
 
can someone explain if im doing this right? i need to use pointer artimetic to change the 3rd ele...
[1 reply] : Please use code tags. http://www.cplusplus.com/articles/jEywvCM9/ ... (by integralfx)
Reading input file with different data types not separated by spaces
 
So I've been scouring the internet for awhile now and have read pretty much everything that has come...
[1 reply] : Basically, my question is - how do I read an input file containing a ... (by jlb)
Linked Lists Question
 
The purpose of this program is to allow a user to input data about classes they've taken and the pro...
[1 reply] : do{ course *p=new course; cout << "Enter a course code: (e.... (by cire)
Switch Cases are ending prematurely
 
Hi guys, I am creating a music player list for myself and I am having issues with my case statements...
[3 replies] Last: Thanks guys for the help! I have worked on my code a bit more, but I ... (by jahkyah)
PushDown Automata
 
I'm getting this annoying error and I have no idea why????? LNK2019 Main #include <string> #includ...
[1 reply] : You've promised to provide the definition of some function or object, ... (by cire)
C++ script for web crawler/spider
 
Write your question here. Hello, I am new to C++ and I am using Xcode How to write a C++ scri...
[no replies]
Please help.
 
I need someone to help me with this homework problem. I need to write a program that tells the...
[13 replies] Last: Thanks boost lexical cast I will try it out. Appreciate it the help. (by NewCoder1300)
Pages: 123456... 54
  Archived months: [oct2016]

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