Beginners - August 2018 (Page 12)

Storing random values in array
 
I want to store my values in myArray but when I print out my array ı get some numbers like -8453186...
[3 replies] Last: for (int i = 0; i <= getN2(); i++) What is getN2() it should be i ... (by Manga)
by ysf007
How to loop over pairs and odds in the same loop?
 
Hey, I question comes in mind is there any option to write a loop (for, while, do while) that al...
[19 replies] Last: @lastchance I smell a bit of recursion in that one... nice. :) Just ... (by Manga)
Using one one class' integer in a other class
 
I am trying to use one Class in a other one but it shows me an error code: E0077 First Class: cl...
[2 replies] Last: C++11 did add brace initialization: http://www.informit.com/articles/a... (by keskiverto)
what is the "standard" practice for template definition location
 
I just figured out the hard way that I can't just put my template definitions in .cpp file as I woul...
[6 replies] Last: The build process right now looks roughly like this: (Per file ) 1. ... (by helios)
Trouble with double spacing any input text file
 
Hi everyone, I'm writing a program which will double space any given input text file. My code bel...
[5 replies] Last: #include <iostream> #include <string> #include <vector> #include <fst... (by JLBorges)
Problem with reading and printing from a text file
 
Hi everyone, I'm trying to read in a file with Microsoft Visual C++ 2010 and print it. The problem ...
[3 replies] Last: Happy to help, thanks! (by Ganado)
Why aren't the doubles enabling their 14 point precision?
 
Write your question here. So, the purpose of my code is to not only print which numbers are bigger ...
[10 replies] Last: Very handsome, have big penis, very big. (by DefinitelyNotPalpatine)
Codechef Users here will be Banned
 
This is Anoop Singh from Codechef, You all are cheating and not following the Codechef code of co...
[4 replies] Last: My guess is codechefadmin is a regular user here that just got sick of... (by Ganado)
by SammyB
Averaging numbers in text file array
 
I am trying to get an output with averaging the numbers in a text file, but I keep getting a value o...
[4 replies] Last: Hello SammyB, Looking over the program I noticed some problems. In t... (by Handy Andy)
additional Conditional Operations help
 
You create three string variables you assign values to when you create them. You then create 3 int...
[2 replies] Last: Kgerm003, in the future, please don't delete the original question. Th... (by dhayden)
Reading date from file separated by 2 posible delims.
 
Hey, what is the best way to handle obtaining int array from file like this: 1,0.2,3,4 2,4,6,8.24...
[5 replies] Last: If you have unix utilities, you can preprocess the file to convert . t... (by dhayden)
Getting just value from function
 
so I have a function that is returning a value (the input from a user) but when I am calling this fu...
[3 replies] Last: Call get_target() just once and store the result in a variable. strin... (by dhayden)
by Ch1156
Using private variable from class without getters and setters (1,2)
 
I am trying to practice more on using classes and I have created a banking program but I need to sav...
[30 replies] Last: You could use this site. Just look for posts that describe the whole ... (by dhayden)
Web Form
 
How to write a web form in c++ cgi?
[2 replies] Last: Hello ahmadlimantawa, Welcome to the forum. If I understand your que... (by Handy Andy)
Modular GCD problem of codechef
 
Have anyone got 100 pts in Modular GCD problem of Codechef. please Help to get 100 in it. link to ...
[no replies]
getting wrong answer , need hint
 
An integer that can be represented in the form 2 x +2 y (where x and y are non-negative integers su...
[2 replies] Last: I have an vector of pairs of final n along with problem no.Can anyone ... (by iitkgpian)
by Kai456
Help with expanding array generation beyond 2d
 
Hi all, I've written a simple script that goes through and utilizes ascii character codes to fill...
[5 replies] Last: @helios, thanks for the example. It's very interesting. (by tpb)
by nomat
Using Assert function
 
Write your question here. Even when i enter the correct input, my program seems to throw and except...
[5 replies] Last: assertion: n. a confident and forceful statement of fact or belief. ... (by mbozzi)
by aqez
Templates help!
 
Hi guys, I'm trying to figure out how I can express something in C++.. The basic idea in C# ...
[2 replies] Last: I mean when you put it like that.. haha. I guess I was making it more ... (by aqez)
Using transform() in MS Visual Studio 2017
 
I am trying to complete a simple tolower function on string text. #include <string> //getline(),...
[3 replies] Last: Personally I don't have strong opinion. If you choose to use a loop yo... (by Peter87)
August 2018 Pages: 1... 101112131415
  Archived months: [jul2018] [sep2018]

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