Beginners - November 2018 (Page 13)

Simple string problem
 
This is a homework assignment, but I have almost finished it completely. My problem is that we have ...
[6 replies] Last: I figured it out, I didn't realize I had to put the cin.ignore before ... (by XboxOne2019)
c++ array
 
Hey guys i need some help with a c++ array.Thats my task : Input a dimensionality from the keybpard...
[3 replies] Last: Maybe "numbers that can be divided by 6 without residue" means multipl... (by Manga)
by snew18
Draw box based on user input.
 
No idea what I'm doing here. I need to ask for the width of the box and if the box should be solid o...
[6 replies] Last: Hello snew18, I found myself in error earlier when I was thinking the... (by Handy Andy)
C-strings
 
Help pls with this task. Input a string and output ANSI-codes of digits in this string
[11 replies] Last: [quote=Nwb]I thought 'string literal' was singular and 'string' was pl... (by lastchance)
Student Grade input.txt file red underline
 
Write your question here. Hi Using Visual Studio for a C++ homework Ch 9 PE 2 Malik. I can't see h...
[7 replies] Last: Hello serenitytek, PLEASE ALWAYS USE CODE TAGS (the <> formatting but... (by Handy Andy)
by H00G0
How do you read from binary file without knowing size of data you're reading
 
Hello guys! I'm challenging myself to write a program that encrypts a text file with a key and the ...
[9 replies] Last: #include <iostream> #include <iomanip> #include <fstream> #include <... (by tpb)
Does vector calls multiple constructor or makes copies?
 
Hello all, I've a class that generates object with some features: X-Y position, is_fellony, is_play...
[4 replies] Last: Wow - a double-ninja :) (by MikeyBoy)
by RahRah
Accumulated Interest
 
When Bongis new baby sipho was born she opened a savings account with R1000.on each birthday startin...
[6 replies] Last: ok thank you so much for you assisstance (by RahRah)
Word Count
 
Hi, I have to create a simple program that can compute the number of words, bytes, and lines that ar...
[1 reply] : Double post: http://www.cplusplus.com/forum/general/245883/ (by Thomas1965)
<iomanip> format with setw(#)
 
I'm having trouble with getting the formatting to work with setw(). I've spent 2 hours on this.. and...
[2 replies] Last: @tpb Ahh okay. Thank you! (by PiggiesGoSqueal)
How to input file information an assign them to struct values?
 
I have to take information from a text file and input it and assign the values to values inside a st...
[2 replies] Last: Thanks a lot man this should help a lot. (by quincyq)
Conditional Jump
 
Hi I'm working on this tree based map implementation and I'm getting a conditional jump error in my ...
[6 replies] Last: You've implemented the Iterator operator== and operator!= incorrectly.... (by tpb)
[Solved] Error: *Exception thrown: write access violation. _Left was 0xCCCCCCCC.
 
When I try to run my C++ code, it does not work. It says: Exception thrown: write access viola...
[2 replies] Last: @Browni3141 Ohh okay. I was just thinking there are 6 types (fname, ln... (by PiggiesGoSqueal)
by Musica
pass by reference vs pass by value
 
I am just wondering why in a copy constructor or to any other similar function, we use pass by refer...
[4 replies] Last: Ok, thanks for the responses. @ne555 In eclipse, it does not allow m... (by Musica)
Psychic Program
 
What are my issues here? I've double checked an am not sure what to do. Here's the link to the dire...
[1 reply] : I like that you seeded srand() with the user's number choice. You nee... (by Browni3141)
Libraries, working smarter not harder.
 
I wasted a lot of time this summer just working on the boiler plate necessary to get a text based ga...
[no replies]
Pointers
 
I'm having trouble figuring out how to implement pointers that give the names of those who scored po...
[2 replies] Last: Thanks for the guidance. The only reason I wanted to use a pointer was... (by Jack599)
Template fields not being initailized by field list in constructor
 
I tried this test to see if I could supply default values in a template argument. The code below co...
[3 replies] Last: In C# you can't take the address of a value, so you can't tell where a... (by helios)
whats wrong with my code?
 
https://www.codechef.com/NOV18B/problems/HMAPPY1 long int n,q,k,x,prev=-1,arr ={0},last=400000,fi...
[6 replies] Last: Woah @ne555 thats what I was missing, thanks buddy (by qwertmen)
public bool default value?
 
Hi guys, can you tell me what would happen, if I created an instance of a class without initializin...
[4 replies] Last: You should always make sure "all variables" are properly initialized p... (by jlb)
November 2018 Pages: 1... 1112131415... 24
  Archived months: [oct2018] [dec2018]

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