Beginners - April 2016 (Page 33)

Is there a way to write this code to look more professional?
 
I am a beginner and I want to know if my code can be created in a more professional look? ...
[10 replies] Last: awesome thank you (by kevlwig85)
by Eco83
replace values in two-dimensional
 
This program using only two-dimensional array. it reads from file which consists of 51 rows observat...
[7 replies] Last: Please use the code tags. See http://www.cplusplus.com/articles/jEywvC... (by keskiverto)
by mmgh
Pointer to Function Member
 
I am writing a program for minimization. It has two classes. Class A which does the minimization and...
[4 replies] Last: Thank you so much. It is the simplified code, because the actual code... (by mmgh)
COS1511 Assign 2 Q4
 
My program cant display but accepts data. HELP #include <iostream> #include <string> using na...
[4 replies] Last: To pass values by reference you need pointers No! To pass objects... (by keskiverto)
Urgent need of help!
 
Hello! Today I stepped on a brick of lego. While coding, "new" and "delete" both got greyed out. ...
[1 reply] : Please don't double-post - it ends up wasting people's time. Other th... (by MikeyBoy)
Brute Forcing Question (Project Euler Spoilers)
 
I'm not sure if it is poor taste to ask about project euler on these forums. If it is, let me know a...
[14 replies] Last: @helios Honestly, now that I stare at it, I have no idea why it conf... (by Cheech0)
Need general advice!
 
Hello cplusplus community! First of all, I do not currently need any actual help with coding. I jus...
[5 replies] Last: Then forget the diagrams. It's not the point of this post. My questio... (by ThreePounds)
Dice Program with number of results
 
I'm tasked to simulate the roll of two dice, generate two random integers between 1 & 6 inclusive, a...
[5 replies] Last: One problem is initializing and filling the array in main() int dice ... (by Thomas1965)
double loop
 
i get output lik * ** *** **** ***** but how can i change it like ***** **** *** ** * please h...
[5 replies] Last: Try this: xinclude <iostream> using namespace std; int main() { ... (by coder777)
by GabeJ
Reading the end of an XML file
 
This program reads a contact list from an xml file. It prints the names and addresses of every cont...
[3 replies] Last: Thank you for all your help. I got the program working properly using ... (by GabeJ)
by Nyapp
Is this websites C++ tutorial good?
 
I've learned up to 1.10 on www.learncpp.com, and I've been hearing a lot of criticisms about the sit...
[2 replies] Last: I always recommend book. You can start with "Programming : Principles ... (by ephraimr)
Can't get maximum from int and double
 
Write your question here. #include <iostream> #include<algorithm> using namespace std; ...
[1 reply] : #include <iostream> namespace my { template < typename A, typena... (by JLBorges)
Can't figure out std::out_of_range at memory location error while debugging
 
The error : "Unhandled exception at 0x75AEC52F in Project5.exe: Microsoft C++ exception: std::out_of...
[4 replies] Last: Ah OK, I simply had a >= where it should have been a >. Thank you for ... (by AtlFalcons24)
by matadm
Total C++ n00b
 
Hey everybody, Total newbie here with c++. Just kinda messing around with the language to get a gras...
[4 replies] Last: Thanks everyone, very helpful! I appreciate all the advice! (by matadm)
Correct initialization of a class
 
Hello, I know that CTOR can be used for assigning default values to fields. But anyway - is it corre...
[2 replies] Last: Interesting very much. Thank you! (by leonid1990)
Drivers License Program Help.
 
I got assigned to write a program based off this description: "The local Driver's License Office ha...
[no replies]
 
[1 reply] : In this case, why would it ever be a good idea to let the user seed th... (by xismn)
Issues getting started with class for OOP project
 
I'm working on a project and am completely at a loss on how to even really get started. Here is the ...
[2 replies] Last: I went back and scrapped everything and am trying to start over based... (by AtlFalcons24)
using -1 for excused absence.
 
i'm having trouble with excused absences.this is how my professor wants it. "When entering the sc...
[no replies]
cin.get needs to be pressed twice in loop
 
Hello! Beginner here. I am working on my first real program. It is a reaction game and the user i...
[5 replies] Last: Well at line 31 you have cin.get(); and then what I assume is p... (by Chervil)
April 2016 Pages: 1... 3132333435... 43
  Archived months: [mar2016] [may2016]

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