Beginners - October 2013 (Page 16)

creating a cone for my rocket ship
 
Here is what I have come up with so far. The goal is to have a rocket ship with two triangles - one on the bottom and one on the top. I am finished with the ass...
[1 reply] : Hi there, Let's break down the assignment: the number of rows of y... (by closed account o3hC5Di1)
Help with OOP branching
 
What I'm trying to do is take a class member and branch using an if statement based on that variable. In this case, the variable name is hostile and I am trying...
[3 replies] Last: @JLBorges I bow to your superior wisdom, I was basing the functions of... (by Curlygamer)
stuck in while loop
 
I have been making this card game but in between the code comes a big while loop, and it never ever terminates. Just look at the while loop. PLEASE HELP URGENT...
[5 replies] Last: and adding cout<<end_deck; should help me how? I told already that my... (by admkrk)
by Ratham
Basic Pointers/References Help
 
I'm looking at a practice test for my programming class and can't seem to follow references/pointers very well. I'm a bit of a C++ noob, can someone here expl...
[3 replies] Last: Thanks guys :] (by Ratham)
errors
 
how do you resolve an unknown external symbol error?
[2 replies] Last: thanks, fixed it! (by nmindley)
by wadee
unresolved Externals
 
Hello everybody , I have been working on this code for 6 hours , and after ending , I encountered the following error which i can't handle , could you help ,...
[3 replies] Last: Yes. For the templates, you only have the header files - no .cpp files... (by JLBorges)
by hampsu
Writing arrays
 
I need the following program to allow the user to enter up to 100 numbers in an array and print these numbers to the screen, along with the average. However, wh...
[2 replies] Last: Oh yeah, it should be.. everything works fine now, thanks a lot (by hampsu)
by erikn
Problems with scanf() in C
 
Hey folks, haven't been through in awhile. Hope all's well. This is sloppy student C code for a school project, written in bash shell using gcc to compile. The ...
[2 replies] Last: No, it's me compiling his code with the same settings, thanks. (by erikn)
drawing rectangle
 
can anyone shows me the source codes using<stdio.h> for drawing this rectangle? 55555 55555 45555 34555 23455 12345 thanks.get stucked in half way...
[7 replies] Last: Ok, thank you. That's interesting. I didn't realise that the height wa... (by Chervil)
Weird characters in char array
 
Hi, I'm new to c++. I was playing around with char arrays but i somehow end up with strange characters in my final char array when i try to join 2 together(exam...
[4 replies] Last: Ahh i see. Okay thank you very much for clearing that up for me :) (by wiireless)
by Seyar
Password System
 
Hi, I have created a simple login system in C++, but I have a problem with it. I am able to enter username and password but when I want to delete the password ...
[2 replies] Last: thanks for your reply. Here is what I have done: int ... (by Seyar)
Timeout
 
I was wondering what code to use to create a timeout message which then loops back to the start after a few seconds. For example: If the user doesn't ente...
[no replies]
by Mojet
Infinite Loop Problems
 
So I'm messing around trying to generate an array with no duplicate numbers.I realize that I am making this way more complicated than it needs to be and that th...
[13 replies] Last: Here's a dynamic approach of the problem(the memory size is unknown at... (by condor)
by Joad
RAND
 
I'm trying to do the bracketing search exercise from http://www.cplusplus.com/forum/articles/12974/ but am having trouble with the second to last part. Specific...
[1 reply] : At lines 15, 25 and 35, you seem to be confusing the assignment operat... (by MikeyBoy)
by Nubre
help calculation code kinda
 
OK so I'm a complete noon in c and this is my first forum post :) I've been making a calculating code for some time and changing/ adding stuff to it now I want...
[9 replies] Last: awesome, thanks alot for the explanation jlborges!, and shadow :O (by Nubre)
Debugger
 
Hey guys.I wrote a program but it gives me a sig fault.I used gdb but doesnt show me the exact location.May someone please tell me a debugging tool that would s...
[1 reply] : If your program isn't compiled with debug information, nothing will sh... (by kbw)
String/Char data types
 
Hello, I'm trying to write a program that will a overload a function named as the function in the code. So, if the user enters characters like 5 '%' then the pr...
[5 replies] Last: You will need to seed the random generator through srand() once. It us... (by abhishekm71)
by k31453
Subclass Problem
 
I got class BullsAndCowsConsoleView, subclass this : IBullsAndCowsView This is what I put in header file of Class. #pragma once #include "IBullsAndCows...
[2 replies] Last: yeah i want to define it !!! like void :: showguess() something like... (by k31453)
Value-Returning Function not working?
 
For some reason i keep getting a error for line 29 saying Error expected a ";" and I don't understand what the problem is. The purpose of the program is to di...
[8 replies] Last: Hi there, Let's clear a few things up (I'm using your original code):... (by closed account o3hC5Di1)
by k31453
Pure Virtual Function
 
I make this Class. But I don't know how to implement this function from Header file to its Class File !!! Header File #pragma once class IBullsAndCo...
[1 reply] : I don't know exactly what you want... A cpp would look like this: void... (by coder777)
October 2013 Pages: 1... 1415161718... 86
  Archived months: [sep2013] [nov2013]

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