Beginners - February 2011 (Page 35)

Nested Pointers
 
Hi, I've been programming for a bit and STILL have troubles with my pointers. I have a piece of code I am editing and wish to keep conformance with how all ...
[6 replies] Last: Are you sure it is gibberish? I didn't found the write function but ... (by ne555)
by ts1000
visual studios
 
can someone give me a kinda overview of visual studios and what it i and can i buy it in a store or do i have to buy online?
[1 reply] : MS Visual Studio is... uhh what the heck, read these: 1. http://www.m... (by matsom)
trouble with calculations
 
Ok, I'm having some issues with miscalculation here and i cannot figure it out? example: when i do long numberTest = 14*13*12*11*10*9*8*7*6*5*4*3*2*1;...
[4 replies] Last: This: double exactFact = 14*13*12*11*10*9*8*7*6*5*4*3*2*1; wou... (by guestgulkan)
conflict with previous decleration
 
#include <iostream> #include <stdlib.h> using namespace std; //FP int get_rand(); string get_figname(int); int loop_check(bool fig ,int record,int ...
[3 replies] Last: thanks bunch problem solved :) (by error74)
Problems with overloading the extraction operator(">>")
 
I am writing a file that should be able to take in numbers from a file, save them in an object, and then write sums out to a file. I am attempting to over load ...
[1 reply] : I'm not sure I understand exactly what you are asking, but I think you... (by Zhuge)
multiple instances
 
hello this is my first post in forum, i hve a class which cull the image with specified portion and display. and i want that class to be work for me for no o...
[1 reply] : What? Please use better English (by Bazzy)
C++ as a Language for MIS?
 
Hello everyone, I am starting a business ( http://www.taxrelaxer.com ) where I prepare taxes for individuals. I started the business earlier this year and h...
[3 replies] Last: Hi Everyone, Thank you for your prompt replies! I have found a lot... (by TaxRelaxer)
<= Minor or Equal
 
int findWord(char ma , char ca ,int iRing,int& X, int& Y){ int ring=0,i=0,j=0,x=0,y=0,k=0,i2p=0, iLSide=0,iSSide=0; bool bOkay=true, bOver=false; r...
[1 reply] : The case s have to be a constant expression. For example, swit... (by Moschops)
Date Calculator Problem
 
I'm trying to figure out a way to calculate a future date based on a given date and set amount of days to add. For instance, if i have the date 02/06/2011 an...
[3 replies] Last: This subject comes up frequently on this site. You could try searchin... (by PanGalactic)
Vectors and GetLine
 
My program is supposed to take in a video game title entered by the user and input it into a vector using push_back. It works not as I want. The problem is when...
[3 replies] Last: Thank you wolfgang and thank you PanGalactic. I am a first time poster... (by manny123456)
by aydi
PB reading text file with getline(fichier, ligne,' ')
 
hello, i want to read a text file using Vc++. so i develop this code with some help from internet. the data in the text file is like that: 74.60038368625241...
[1 reply] : Please edit your post and put the source inside code tags. It will mak... (by PanGalactic)
game code error
 
this is a simple game to guess a die number: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main(){ srand(static_c...
[3 replies] Last: actually add another } after your cout (by ultifinitus)
vector
 
I have a problem inserting values in a vector. I have the following syntax. int x; cin>>x; for(int i = 0; i<x; i++) Vectorul.push_back(x); } But some...
[18 replies] Last: Feel free to post questions. The reason I said not to write Line 5 in ... (by Computergeek01)
by Yaviel
merge sort issue?
 
I am new to C++, and am writing a merge sort program. However, every time I run it, the array is printed out for the second time, but unsorted. I think somehow ...
[3 replies] Last: Thank you for your help! (by Yaviel)
by Cperr2
Question regarding Switch Case - thnx
 
Could somebody please explain why the answer is D and not B. I suspect the reason is because there is no Break. Thanks 4. What is the result of the following...
[2 replies] Last: Case statements will fall through to the next case if there is no bre... (by guestgulkan)
Learning the C++ IDE - linker error
 
Hi all, I am a brand new user to the C++ language in Windows environment, and the Visual Studio C++ Express 2010 Edition. I have written in C (some years ag...
[2 replies] Last: Thanks, that got me past this error! (by lundebc)
advice with a program
 
Hello, I'm new to c++ programming. I would like some help on a program i made up. its a word solver. I want to input the number of letters the word has, then c+...
[4 replies] Last: thanks for the help mainframe639, i"m still new to programming. (by fisksticks1907)
code question
 
Hi all, There is something I don't understand in this code, what is while (true). I mean there is no bool , so what does it check to be true or false ? // Fin...
[1 reply] : the while(true) statement is equivalent to while(1) ... a forever ... (by Toshitaka)
problem with isdigit() and isspace()
 
So, I've only begun to learn C++ through a book and wanted to make a good old classic calculator for experimentation's sake. However, I had problems with creati...
[2 replies] Last: It works! Thank you very much! I'll keep that in mind, and will never ... (by Squipix)
output of the following program. why?
 
a.c --- int a; b.c --- int a = 10; main.c ------ extern int a; int main() { printf("a = %d\n",a); return 0; } ...
[1 reply] : You are using c? (by mainframe639)
February 2011 Pages: 1... 3334353637... 43
  Archived months: [jan2011] [mar2011]

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