Beginners - August 2013 (Page 13)

How to get programs working on other computers?
 
I was wondering how I could get my programs running on other computers? Does that depend on the program? I use Microsoft Visual Studio 2010 Express, if that he...
[7 replies] Last: We are on a C++ programming forum. What do you think he means by "my p... (by Duthomhas)
Bold text in graphics?
 
I was surfing the web for any method do display a bold text in graphics (not the text mode) if there's a way, do let me know Thanks For example, how can...
[no replies]
Help with a simple loop
 
So I am working on a text based RPG and have set up the stats to come out completely random. I have made it so that the program will let you try to get better s...
[1 reply] : You say char STATS ??? Why an array just do char STATS Then change 29 ... (by timprograms)
Problems with palindrome...still
 
I have posted thins one once before, but It seems I am not able to resolve a couple of problems with my program. 1. Palindrome option is not working in the sen...
[3 replies] Last: Thanks so much for you help on this one. I really appreciate it. (by afleury1)
Timer for the C++
 
I am doing tower of hanoi, and need calculate the time for the function. However,i try many type such as time.h or windows.h...Since the function is recursive a...
[4 replies] Last: > need calculate the time for the function. However,i try many type su... (by JLBorges)
Problem Implementing OSTREAM :(
 
Hi there, I badly need suggestions. Please take a look at this. Implementation: friend std::ostream& operator<<(std::ostream&, const Students&); a...
[3 replies] Last: Thank you Mr. Vlad and Mr. Jlb , I will follow both of your sugges... (by Kimmydoo)
Background color problem
 
I'm using asci codes e.g. \033[0;35m And I want to do #define RED_BG "\033[7;31m" #define GREEN_TXT "\033[0;32m" //later in my program... printf(RED_BG); prin...
[no replies]
Computer not reading strings?
 
For some reason, the compiler isn't understanding what I mean by "string". Here's the code (Unit.h) Line 84 is the problem #ifndef Unit_h #define...
[2 replies] Last: Okay, that does it. Thank you very much. (by INeedAHero)
Creating my first dll
 
I am relatively new to the dll stuff but do know more c embedded programming than c++. Anyways I created a simple dll project in VS 2008 with the MFC DLL Wizard...
[14 replies] Last: @tsrdatatech Out of interest, why are you using the MFC COleDispatchD... (by andywestken)
Wanna ask some codes Please Help!!!!
 
I wrote this codes and i wanna ask how come if i enter letters not numbers and it will stuck!! Also how can i add an error code on the numbers and letters that...
[8 replies] Last: Copy the code above and It will works (by closed account 28poGNh0)
Please help out!!! CANNOT debug
 
I have no reason why it failed to debug? Anyone can help please?! #include <iostream> #include <string> using namespace std; int main() { int opt...
[3 replies] Last: I have no reason why it failed to debug? You're saying that it compi... (by andywestken)
by Nubbit
Adding .txt IF the filename isnt "filename.txt" already
 
Hello people! I've been stuck on this assignment for a few days now and even though i've found some helping threads that handles basicly the same subject i h...
[2 replies] Last: Thanks alot Vlad, much appreciated! (by Nubbit)
run time error agn!!!!! ><
 
if i accidentally enter "a" then it will be the run time error... how to solve?? #include<iostream> using namespace std; int main () { int option; ...
[4 replies] Last: First of all this condition of the loop } while (option <= 4 || optio... (by vlad from moscow)
Please help can correct the errors
 
#include <iostream> #include <string> using namespace std; int main() { int optionvalue = 0; string option; cout << "welcome to the simple text gam...
[3 replies] Last: you need a } after the return 0; You should really use the tag and ... (by manudude03)
by mgehad
sizeof Operator usage in FileStreams
 
Hello . I wanna ask About operator "sizeof" at function [fstreamObject.write( reinterpret_cast < const char*> (&client) , sizeof ( ClientData) ) ; ] -C...
[2 replies] Last: Thank you :) (by mgehad)
Cannot multiply because * creates a pointer
 
Code returns an error because it thinks I'm creating a pointer... float width; float solution; if(shape == "square"){ cout << "Enter...
[8 replies] Last: and there you have it comparing two different data types. int strin... (by Tertius Kgatla)
Just confused with nodes.
 
Hi there! Just wanna ask if I can call a specific node by the use of key in hashing? But can delete or insert a node using doubly linked list? Is it possible? ...
[no replies]
Having trouble using string in a class
 
Hello, this is my first post in this forum. I'm having trouble using string in class.In this program user inputs his player's name and race.In the output I want...
[2 replies] Last: Oops! That was my stupid mistake :D. Thanks @abhishekm71 (by silenthunter)
by tatai
Removing a line from a file
 
I have 60 different files. they are arranged like summary_1_1, summay_1_2 like this upto summary_1_10. again, summary_2_1, summary_2_2...so on. I have 6 groups ...
[4 replies] Last: You will need to change your loops to get all six groups and ten files... (by vin)
Filestreaming error?
 
I have this little problem that whenever I add a student, the first letter of the char is always missing at when viewd at the text file. For example : "Jhonny B...
[2 replies] Last: actually I'm making a linked list that can copy the entered characters... (by Kimmydoo)
August 2013 Pages: 1... 1112131415... 51
  Archived months: [jul2013] [sep2013]

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