Beginners - March 2017 (Page 32)

Constructor and Copy constructor for a class
 
Hello everyone, I have a very basic questions on creating a constructor and copy constructor for a c...
[2 replies] Last: You are having an array of size 20 so it's final index is going to be ... (by benhart)
convert struct into unsigned int *, again convert unsigned int* into struct
 
There a packet created by struct struct student { char name ; int age; int number; ...
[1 reply] : what would be the syntax to convert struct into unsigned char* ? I... (by integralfx)
Help with functions
 
Hi, I am new in C++ programming. Just got to know about this site. I really need help with an assign...
[2 replies] Last: Show us what you've done so far and we'll put you in the right directi... (by integralfx)
by tom67
Lottery program
 
Hello I am supposed to write a code that asks the user to input a number between 0-99 and hopefully ...
[2 replies] Last: I'm guessing you just want something pretty basic. Use a 'for' loop to... (by castroboy)
by pumzye
Passing Arrays in a Class not working
 
Hello Please help i am trying to collect information from a function through an array variable of...
[3 replies] Last: This gets thing moving a bit. I look forward to your data model succee... (by closed account 48T7M4Gy)
Sorted Link List ADT
 
No compiler errors, but my retrieve method is not displaying anything in my list. SortLabList.h ...
[1 reply] : This: bool SortListClass::retrieve(int position, SortListItemType& da... (by cire)
Help with reading and writing to files
 
So the program I am trying to create is as follows. Schedule for jobs. I need to be able to enter ...
[13 replies] Last: you're mixing up various ways of reading a vector's data: (a) range-lo... (by gunnerfunner)
Counting Vectors
 
So I've done some research, and found out I cant count them because it is a type. I cannot figure ou...
[1 reply] : Something like this, perhaps: #include <iostream> #include <string> ... (by JLBorges)
How to use git-scm to upload code to github?
 
Is it possible to use the desktop command prompt to upload code I've written so far in Visual Studio...
[no replies]
Help debugging code of the following errors,
 
I need help debugging this program #include "countryInfo.h" void findcountry( string info...
[3 replies] Last: Hello mayukhC, Thomas1965 has pointed out some of your errors, but yo... (by Handy Andy)
static_assert vs assert
 
I have searched this on google and found some help on stack_overflow http://stackoverflow.com/quest...
[9 replies] Last: > Honestly, assert is mostly a debugging tool. Better to try/throw/cat... (by JLBorges)
im stuck on this code
 
#include <iostream> using namespace std; void addToList(int *); // adds integer to integer ar...
[6 replies] Last: Ok this would be much easier to do with vectors. The first problem I s... (by joe864864)
Monte Carlo
 
I have a monte carlo problem to solve to; 1) Determine the uncertainty 2) generate 10^3 values for...
[3 replies] Last: You're already calculating q for each pair at line 34. What is the for... (by dhayden)
program help (1,2)
 
know how to fix // Example program #include <iostream> #include <string> #include <fstream> usin...
[20 replies] Last: for 5 shoes (0, 1, 2, 3, 4) add up into the variable sum whatever is... (by jonnin)
Complete C++ nooby and have a question that's beyond what my prof has taught
 
Essentially I'm really green when it comes to C++ I've tried going through tutorials and text books ...
[1 reply] : is this what you need? int ctr = 0; char n = 0; //do we do it once a... (by jonnin)
code runs but crashes after second value
 
//Kenny Maldonado //Lab 2 #include <iostream> #include <iomanip> #include <string> #include ...
[2 replies] Last: THANK YOU!! (by KenTheNoobProgrammer)
by decker
Printing output in format eg "2:4;5:6"
 
Hello all, This is my first post. I am stuck with an assignment requesting me to print an output in...
[3 replies] Last: cout << “2:” << "4" << “; 5:” << "6" << endl; You can just... (by integralfx)
by tit0n
Postfix to infix help with my functions
 
For my second function, preToIn() I first convert it from Prefix to Postfix, and then I want to call...
[no replies]
I didn't get an EMail when a reply was sent
 
I'm new to cplusplus, in my 1st forum question I was expecting to get an EMail when someone responde...
[2 replies] Last: Thanks, It was to easy. (by tigerlcf)
Trouble with I/O for functions
 
Hi, all. This is my first post on this site and I'm VERY new to C++ (programming in general). I ...
[2 replies] Last: Thanks for the help! Sorry it took me so long to reply. If I understa... (by sskyler)
March 2017 Pages: 1... 3031323334... 36
  Archived months: [feb2017] [apr2017]

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