Beginners - February 2015 (Page 23)

My coding errors
Hi there, i'm having hard time fixing my code. It gives me scanf C4996 warning, but i don't know what i did wrong! The program should calculate the miles drive...
Feb 17, 2015 at 10:59pm
[5 replies] Last: Why'd you all write it in C ? This is a website about C++ . (by jasonwynn10)
by Mr D
Is error checking like this redundant?
Is using error checking like this bad? I just want to make sure if something goes wrong that I know exactly what it is as I am designing a very large game. ...
Feb 17, 2015 at 10:11pm
[5 replies] Last: Map size is 0 In that case, line 52 makes no sense. You're testin... (by AbstractionAnon)
Email verification
Im trying to input a file that contains a list of emails. From that list of emails im trying to decide if each email has 1 '@' symbol. If it doesnt I want to ...
Feb 17, 2015 at 10:06pm
[1 reply] : Looks ok. A li'l correction: bool oneAt(const char *email) { int... (by AskIchthys)
help me with my code about the insertion in a list
Hello, This is for a project my school , it is that given a task that has time (the time it takes to do it ) and gain ( which is money tale wins to make it ) th...
Feb 17, 2015 at 10:05pm
[5 replies] Last: The nodo::operator< does care. It computes through the rules that you... (by keskiverto)
by Winsu
My program Crash when I execute a friend external function
I dont know why, but I have declared a friend external function called hello of class proof and when the function is executed, the program crash...the program g...
Feb 17, 2015 at 7:30pm
[5 replies] Last: Ok, thank you I think I've have go it!!! Actually I made that destruc... (by Winsu)
by kiri
How to compute all of this in one function???
How would I be able to compute this all as a function, properly. //Totals double fuelpod, jetcost, oxycost, cacost, total; //Cost of input fuelpod = pods*12...
Feb 17, 2015 at 6:56pm
[2 replies] Last: Line 13 is a typo lol. total was cut out but will be used later. as ... (by kiri)
can some one tell me whats wrong with this code?
Write your question here. so i have looked this code over and over and i cant find anything wrong with it. is my code::blocks just glitching or am i just miss...
Feb 17, 2015 at 6:52pm
[2 replies] Last: ooooooooooooohhhh, right on thank you. im very new to this so yeah, (by Wolfgang1993)
Overloading operators Question
I'm not sure if anyone came across this and probably very rare to come across. But i was thinking if you have a class specifically a vector type or a array type...
Feb 17, 2015 at 6:37pm
[3 replies] Last: I don't understand your question. (by LB)
What does this simple code mean?
What does this code mean? Why do I get particular numbers when running it? #include "stdafx.h" #include <iostream> using namespace std; int main(){...
Feb 17, 2015 at 5:16pm
[2 replies] Last: Thank you very much! (by laurisplus)
error with my code of list linked
Hola , Esto Es para un Proyecto de Mi Escuela, se trata de que dada una tarea que tiene hora (que es la hora que lleva hacerla) y ganancia (que es cuento dineor...
Feb 17, 2015 at 4:40pm
[2 replies] Last: No, not problem, I understand almost the english, and I have the tradu... (by JOSEluis2796)
Automata theory problem!!!
I'm creating a program with an input string and follows the ff. rules in Dev C++. PROGRAM RULES 1st rule Identifiers: starts with [a-z] and ends with [a-z]...
Feb 17, 2015 at 4:15pm
[no replies]
Help!
can you guys tell me whats wrong with my program? example outpust should be "Type a number followed by its multiple: 25 5 Multiples of 5 from 1 to 25: 5 10 1...
Feb 17, 2015 at 2:38pm
[3 replies] Last: ok thanks for your answers! (by blitzz05)
"if statement missing (" help
My homework is due two days from now and I have been struggling with this error I can't seem to fix. We were to create a program that lets the user sign up and ...
Feb 17, 2015 at 2:23pm
[4 replies] Last: The not-equal-to operator is !=. (by Peter87)
Tips For A Stable C++ start For A Begginer!
Hi! I'm Juris and I want to start programming C++. I already know a really small bit of Java (because of android), XHTML and CSS, and I am halfway of knowing An...
Feb 17, 2015 at 2:10pm
[2 replies] Last: I learned quite a bit from Bucky's C++ tutorials, it is important to u... (by Mr D)
Programming through the GPU
So I'm working on a c++ project that uses the OpenCV library and I wanted to use their ocl factions, which to my understandings are image processing functions t...
Feb 17, 2015 at 1:29pm
[no replies]
by KickAz
C++ and Keypressed
Hello I'm trying to create something but instead of the usual cin where the user has to press enter, I want to see how it can be done without pressing enter but...
Feb 17, 2015 at 1:21pm
[6 replies] Last: Yep Texan40, that would work as well! (by koothkeeper)
Looping construct
Hi Could we use only one looping construct for all conditions ? Thanks.
Feb 17, 2015 at 12:59pm
[7 replies] Last: > I guess understanding goto statement, is difficult than understandin... (by JLBorges)
by Mr D
Initializing an array of objects that have constructors
Is it possible to initialize an array of objects that have different constructors? #include <iostream> #include "Map_Segment.h" const Map_Segment Maps = { O...
Feb 17, 2015 at 12:43pm
[10 replies] Last: Thank you Coder777, that worked perfectly! (by Mr D)
by Aman03
Loop
When I debug, for instance a t input, it keeps outputting the corresponding number is 8 over an over until I exit it. Need help finding my mistake. " " " ...
Feb 17, 2015 at 12:02pm
[6 replies] Last: cout << "Enter a letter: "; cin >> letter; you may put these two i... (by xenovia12)
accessing class methods
Hey everyone! Suppose we have a class (CLASS A) having a number of data members and methods. And then i create an array of objects.There is a member function ...
Feb 17, 2015 at 9:57am
[5 replies] Last: but the log massange say this |fatal error: iostream: No such file or... (by Adambacktiar)
February 2015 Pages: 1... 2122232425... 52
  Archived months: [jan2015] [mar2015]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.