Beginners - July 2011 (Page 48)

by wtf
c++ date non standard format issues
 
Alright this is driving me nuts. I am trying to use the system date of users' computer to create a ...
[11 replies] Last: Is the atoi function standard? Yes, it is. You can use ctime to get... (by Null)
Setting up a Constant in a Class
 
I want to make a const char in a class. I mean that if I create two objects of a class, A & B; ...
[4 replies] Last: Thanks.It did the work!! (by Nisheeth)
Can't find what's wrong with my code.
 
Started C++ Programming yesterday, been reading like mad and developing this code in Dev-C++ as I le...
[4 replies] Last: o.o You're correct. Thank you :] (by Omnikron)
Error with a For Loop in a Class Function
 
I have created a board in the form of a class. This is the code: class Board { private: char ...
[5 replies] Last: Man, I was too slow replying... (by HenriK)
pointer to a string
 
char *p="Hello",*l="cello"; *p=*k;//or p ='c';it crashes again cout<<p; the program rashes why?? I ...
[1 reply] : String literals ("hello" in this case) are not of type char*, but cons... (by hamsterman)
Documentation Tutorial Typos?
 
As i was going through the beginners tutorials, i noticed that even when they are giving the example...
[1 reply] : I think it's left out because it's not needed, at least not on the com... (by Gabe 101)
What's wrong with my code?
 
It compiles without error but the 'netPay' result won't display. The console just closes down... ...
[6 replies] Last: It's bets to use cin.clear() if you extract data from the stream befor... (by LB)
Using an Application without DLLs
 
Hello. I am making a program with Ogre3D and other libraries needed to make this an online game, but...
[10 replies] Last: hmm... i think i know what youre talking about, but is there an obvio... (by shacktar)
Pointing to elements in a vector.
 
Hi, So I've got 3 structs - track, top_hit, and bot_hit. A track is essentially just a pointer to ...
[3 replies] Last: You can still use one vector, you just need to have a way that you can... (by LB)
Combining Bubble and Selection Sort
 
I am receiving this error, how can I fix it. ERROR: 1>payroll2.obj : error LNK2019: unresolved ...
[2 replies] Last: Thank you, I fixed it. (by queenzgurl)
Just getting started, keep going back to square 1.
 
Hey Guys, I'm new and I'm Failing Hard. Pleased to meet everyone here. I got a lot of respect for...
[8 replies] Last: I'm learning C++ too. what I do is: 1. read a section in the book 2. ... (by muratagenc)
by wtf
troubleshooting weird cin >> problem
 
This is weird ive never seen anything like it before. I swear its the boogeyman. bool b; cou...
[6 replies] Last: I don't know. I just read through pretty much my entire program and I... (by wtf)
DMA & String Pointers
 
Hi, I am trying to teach myself C++, and really appreciate your time & help. This program is sup...
[3 replies] Last: Okay, I deleted lines 4, 5, 6, & 28. Now the code works correctly. Tha... (by matthewmpp)
Something easier than Classes
 
Hello, I've got a basic knowledge of C++ curently, well atleast procedural paradigm programing, but ...
[5 replies] Last: fun2code, do i have to have any syntax at the beginning of the header ... (by Blugamer44)
by g913
career in c++
 
Hi, I have been working in HMTL, ASP.NET till now. All the stuff that I did so far is just learni...
[16 replies] Last: Almost a decade. I'll freely admit that I've always been prepared to m... (by Moschops)
by jihad
FIX this for me please
 
int grade; printf ("Input grade :"); //nagta2nung xa ng input from the user scanf("%d", & grade); ...
[3 replies] Last: Your problem is in scanf(). It is not inputting into the variable 'gr... (by wtf)
Robot Programming
 
Hi. I`m 2 years in for CompSci major,and thinking about leaning toward AI. I want to do a project ...
[4 replies] Last: I would recommend the lego kits. I wanted to do robots(still do) and ... (by brokenbot)
Deleting node from Linked List not working
 
I've been stuck on this project for class for 3 days. This is my first linked list. I'm referencing ...
[6 replies] Last: toexii: Thanks for the link. I had seen that and was using it as a r... (by WhiteVandal)
Begin Programs with templated code
 
Hi, I'm taking a C++ class and have a couple of questions to make my life a little easier. We do...
[1 reply] : You should just make an empty project and type the beginning code your... (by Zhuge)
void pointers (be deleted ?)
 
Can void pointers be deleted if they have been created as new objects? I had been confused with v...
[11 replies] Last: Oh right. Yes, that can be done. You don't need to use new . #incl... (by Moschops)
July 2011 Pages: 1... 4647484950... 54
  Archived months: [jun2011] [aug2011]

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