Beginners - August 2010 (Page 11)

C++ applets ?
Impossible to write applets in C++ like in Java, or not?( eg. games )
Aug 21, 2010 at 2:40pm
[7 replies] Last: I believe you can still write browser stuff in c++, its not impossible... (by CodyShort)
Why Inline asm in C++/CLI creates horrible problem?
Hello, I am extremely begginer and at at most novice level for playing with assembly. I am using Inline asm in C++/CLI. Horrible problem infact could be a...
Aug 21, 2010 at 1:06pm
[3 replies] Last: I do not have such a manual. The pragma without it in conjunction wit... (by EverBeginner)
Having a problem printing off "None" when nothing is found!
So i have to create a program to read mp3 tags's and get infromation from the tag... If a part of the tag is empty (ex.... title) I should report this by printi...
Aug 21, 2010 at 12:52pm
[6 replies] Last: use strcmp(word, "") By the way: Why are you reading char by char... (by ne555)
Text game problems
Hello I've been on C++ for a day :O and I've started somthing for some fun a texted based game called TextScape! but I'm having some problems with the function...
Aug 21, 2010 at 11:08am
[5 replies] Last: Also look into function prototypes, and try to avoid using ANY global ... (by CodyShort)
Get confused in the combination of ifstream and ofstream,
I wrote a codes which can store user multiple input into dat file by running it again and again and then read it from fstream file while it is available by usin...
Aug 21, 2010 at 9:40am
[1 reply] : Learn to read error messages. main.cpp(17) : error C2039: 'getline' ... (by hamsterman)
How to pause the code untill an external file is created then continue?
Hello everyone, I m writing a console program that launches other applications one after the other, namely that the file produced by the first application ...
Aug 21, 2010 at 9:07am
[2 replies] Last: Thanks a lot for your reply, The .bat file is important because it ... (by georgialucas)
MATH!
I just recently began reading a beginners C++ book. Is a big part of C++ math? Am I going to run into this stuff no matter what? Just wondering if learning a...
Aug 21, 2010 at 7:39am
[5 replies] Last: I think also good programmer of any language should have these:- >MAT... (by Mazd)
What will the i++ do in here? Easy i++?
I saw this codes from somewhere and don't really get it.. I know when i is smaller than argc, then it will keep on looping. Then if the present argv is phone n...
Aug 21, 2010 at 6:36am
[2 replies] Last: that is to say: j=i++; equal to j=i; ++i; or j=i; i++; ... (by wenqiang)
how to include class declaration and method as header?
Hi guys, what's the way to split class method and declaration in my codes to different file? I know i should include class declaration as #include<class.h> bu...
Aug 21, 2010 at 5:06am
[2 replies] Last: thank you! that's help a lot! (by bigbrain)
by cwn723
Quick pointer question
Hello, i have a quick question. char str = {'h','e','l','l','o'}; char *strp = str; for(int i = 0; i < 200; i++){ std::cout << strp; str...
Aug 21, 2010 at 3:53am
[1 reply] : In the case of char, it's the same. If str of an array of ints, strp++... (by helios)
How to let user press enter to stop? Can printf be used to print out variable?
for(;;){ (...) if (???) break; } What is needed to be filled in to let user press enter to leave the infinite loop? Also, for(int i=1 ; i<=5 ; i+...
Aug 21, 2010 at 3:48am
[19 replies] Last: kempofighter, thx for your advice. But how can create multithread?... (by horace5563333)
Reading sub directories....
So i have a program that reads mp3 files from the folder i run it in... I need to be able to read mp3's from sub directories does anyone know how to do this..? ...
Aug 21, 2010 at 3:11am
[17 replies] Last: It seems that the *.mp3 mask is applied to directories too. So you sho... (by Athar)
conversion of farenheit to celsius
helo can anyone help me?? please.. im a 1st year college student... i dont really get it... need a C++ program that reads a Fahrenheit degree in double, the...
Aug 21, 2010 at 2:57am
[1 reply] : Hi, here i will write the source c++ code to program that reads a F... (by ksrao)
by cwn723
Returning values through params
Hello, i need help solving this problem: void main(){ int length = 0; getNumbs(length); std:: cout << length << std::endl; system("Pause"...
Aug 21, 2010 at 2:12am
[3 replies] Last: That it is an output parameter goes without saying. If it weren't, it... (by Athar)
Confused about Multi-File Programs
Hey guys, I have been doing this tutorial for a little bit on this website, and it's been going great for a while. But the new section talking about how to cre...
Aug 21, 2010 at 1:56am
[2 replies] Last: Aha, found it. Didn't see at the top that there was a Project Tab . ... (by RialnisMada)
Whats wrong with this code?
#include <iostream> int iHelloTimes; int main() { std::cin >> iHelloTimes; say_hello(iHelloTimes); } int say_hello(iHelloTimes) { for( ...
Aug 20, 2010 at 8:02pm
[1 reply] : First, identifiers must be declared before they're mentioned. So eithe... (by filipe)
A huge struct problem
#include <cstdlib> #include <iostream> #include <string> #include <sstream> #include <vector> using namespace std; // <Inventori creation> vector<string...
Aug 20, 2010 at 7:04pm
[2 replies] Last: worked thanks (by eastman47)
Classes in separate files
I'm migrating to C++ from Java, and I like how in Java each class gets it's own file. I'm trying to go that with C++, but I'm having no luck. I have a few quest...
Aug 20, 2010 at 6:04pm
[6 replies] Last: Inlining is not interesting due to the missing function call overhead,... (by Athar)
Please Give Constructive Feedback
I am learning C++ from the Stroustrup book "Programming Principles and Practice". I have been doing the exercises in each chapter. I have gotten stuck on chap...
Aug 20, 2010 at 2:22pm
[3 replies] Last: I only gave it a quick glance, but a few notes: 1. Use virtual inhe... (by moorecm)
by mozly
SDL timing not working!
So I read lazyFoo's SDL tutorial and now I wanna make my own game. I'm making my own rendition of tetris. The Problem: the blocks wont fall down unless my...
Aug 20, 2010 at 1:45pm
[no replies]
August 2010 Pages: 1... 910111213... 28
  Archived months: [jul2010] [sep2010]

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