Beginners - October 2011 (Page 23)

by codrgi
convert CLongBinary?
 
-
[1 reply] : - (by codrgi)
Need a few simple assignments
 
I'm new to C++ programming and only want some help with project examples.Like assignments. "Make a program that lets the user blablabla..." A challenge th...
[7 replies] Last: btw thanks for your information... may God bless you... (by rozaimie)
Compiler Ignoring Default Arguments?
 
It seems as though my default argument for my function is being ignored by my compiler. It's quite confusing. Here's my function + definition: Prototype: ty...
[2 replies] Last: This is caused by the fact that C++ uses default arguments at the clie... (by rapidcoder)
Help Guys
 
i want to have the output : using nested for loop. * ** *** ** * without using cin. here is my code : i think something is wrong : #include <...
[1 reply] : Take a look at your inner loop. On the second time around you're sayin... (by JMJAtlanta)
SEGFAULT on NULL Pointer...
 
I am using C++ to break down soccer games. I have games broken down into the struct "Events," as such: struct Event { unsigned int scoreA; //score of t...
[5 replies] Last: Gamep temp; new(temp) Game; new (temp) Event; and temp = (Eventp)... (by helios)
by TimL
Inputting strings into char arrays without knowing array size
 
I really have two questions. The first one I think I already know the answer to, but confirmation would be nice: Is it a bad idea to read data into an array if ...
[4 replies] Last: Well since he's working with string data the logical choice would have... (by Disch)
example about something
 
hey folks i just need example about Expression What is evaluated Equivalent a.b Member b o...
[5 replies] Last: There is an example right above it? :/ Think of a linked list: st... (by Gaminic)
by aasaa
templates+linked list+polymorphism
 
HI, Please help. the Code is Not easy to understand for beginners so here it is. // my main #include <iostream> #include "LinkedList.txx" class A { p...
[10 replies] Last: Solved !!! here is the update (see my questions below) //file Li... (by aasaa)
by JanisM
program
 
hi everbody I have a problem if I have program like this in the end i need to ask if you want continue? yes no if yes then continie program, I just dont underst...
[3 replies] Last: Your variable names and commenting are alot to be desired. what exactl... (by jaykob hxc)
blackjack programming
 
Hi guys, I am trying to program a blackjack game, I've got my Card class and Deck class all set and correct. I was wondering to code the game, should I make a D...
[3 replies] Last: maybe write up a 'blackjack_tabler' super class "for people on the tab... (by jaykob hxc)
Header (.h) and CPP .(cpp) Help
 
h1.cpp using namespace std; #include "h1.h" main() { } h1.h #include "h2.cpp" h2.cpp main() { } problem in the second .cpp (h2.cpp) i...
[3 replies] Last: Zone, what is the actual error message? (by Moschops)
logging output from a system command to a text file
 
hello everyone, i am trying to put together a internet monitoring you utility using the ping command. i want to write this data to a file for archiving purpo...
[1 reply] : system() cannot send the output of its executed command back to its ca... (by EricDu)
Just Asking...
 
I was just wondering. I'm just going to start my program, so don't ask first for codes. I have a little problem regarding the topic about "Input/Output with Fil...
[1 reply] : That code is fine. The problem is almost certainly that you are using ... (by Moschops)
by Smoke
Why is this class abstract?
 
The compiler says the below class is abstract but I can't figure out why. #ifndef action_h #define action_h #include <Windows.h> #include <gl/GL.h> ...
[4 replies] Last: void operation() and void operation(int) are entirely different fu... (by hamsterman)
I Really Really Need Help, Thanks.
 
I'm Trying to make a NFL Game Predictor but I'm having a lot of problemes with the math involved.It compiles fine and runs fine, the math is off. I think it has...
[6 replies] Last: >system("pause"); This is all kinds of wrong. First, while system is ... (by stridexr)
problem with code
 
Hey guys, I had everything right with this code until I added the "do-while" to it. I can't figure out what I'm doing wrong. #include <conio.h> #include <...
[3 replies] Last: /* ....... */ do { //your code in here } while (yes =... (by ThangDo)
by ToniAz
Linking errors
 
Hello Everyone! Now this is unheard of to me, I am surprised to hear about this just now, after 2 years working with c++: #include <curl\curl.h> I ge...
[1 reply] : Shouldn't this include all the functions and classes in the curl\curl... (by Moschops)
C++ CLI Class
 
Hi All Ive been racking my brains why my class does not show the method in the Intellisence of my code window. I have made a class called Utilities which ...
[3 replies] Last: Visual Studio 2010 does not support IntelliSense for C++/CLI (mainly '... (by closed account 1vRz3TCk)
problem with classes
 
im using dev c++ and i keep getting an error for this. class pokemon { public: int bhp; ); pokemon bulbasaur; bulbasaur.bhp = 45; it is saying...
[2 replies] Last: Yea, it sounds like you wrote bulbasaur.bhp = 45; outside of a funct... (by Mathhead200)
Help ! Quick Question !
 
I am trying to write a program in which the user plays rock, paper, scrissors with the computer until one reaches 10 points. Question 1: How do i get the ra...
[3 replies] Last: As a general rule of thumb use a for loop if you know at compile time,... (by TheMeerkat)
October 2011 Pages: 1... 2122232425... 59
  Archived months: [sep2011] [nov2011]

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