Beginners - August 2011 (Page 35)

Vowel Finder Help
 
#include <iostream> #include <string> using namespace std; int main () { int ACounter = 0; /...
[2 replies] Last: Thank you! Oh my god I feel so stupid. Thank you for your time and sor... (by TheMassiveChipmunk)
1d arrays and multi array question
 
what is the max size that you may put in a single demensional array? what is the purpose of havin...
[4 replies] Last: so can you do everything with a single demensional array that you cou... (by quirkyusername)
command line
 
using namespace std; ifstream infile; int main(int argc, char* argv ) { infile.open("line...
[1 reply] : line 17: break; ./a.out a <linedata You are passing as 'a' as a p... (by ne555)
by zander
hope
 
ok i just started learning c++ on my old low performance toshiba a25s2792 using these tutorials prov...
[6 replies] Last: ok i restated at object oriented because i made a simple error i thoug... (by zander)
by wtf
I want to use Sleep() but don't want to #include <windows.h> (1,2)
 
How can I implement a Sleep() function codewise?
[34 replies] Last: What's with the square brackets? Calling Sleep(0) is not the same a... (by helios)
Accessing a Dynamic Array through pointer?
 
Hello, I've tried a search into this, and it gives a lot of results, yet they don't seem to work. I...
[no replies]
Bins
 
Hello! I'm making a program that creates stars called "gravitars" and calculates their slowing frequ...
[no replies]
by Peyton
Removing punctuation marks
 
Hello, Here's just a small snippet of code that correctly removes punctuation marks from "hello." P...
[1 reply] : [quote=man ispunct]character classification routines #include <ctype.... (by ne555)
unsure of the meaning of some code
 
hi, first post here, so sorry if the question is silly :< i'm looking though someone else's co...
[1 reply] : this is a "function pointer" that can take one argument of shcoord typ... (by ahura24)
clrscr error
 
I am using Visual c++ 2010 express.I am trying to solve this error: 'clrscr': identifier not found I...
[5 replies] Last: mmmm...i wonder when will they stop teaching ancient programming at sc... (by crawler)
Is there a better way to restart the program according to user input?
 
This is how I would loop a program according to whether or not the user wants to. The code would be...
[no replies]
by Kase
Append row into a 2D vector
 
Hi, I'm trying to append a row of floats into a 2D vector, but vector.push_back(element) seems t...
[no replies]
C++ "solutions" and programs with multiple "projects"
 
What are "solutions" in c++ projects and whats the reason for having them? I first noticed them when...
[1 reply] : [quote=Blessman11]What are "solutions" If you're referring to Visual S... (by lnk2019)
by wasabi
Using parent assignment operator
 
Let's say I have the following code: struct A { int a; operator=(A& obj); }; struct B :...
[no replies]
by Nelli
Basic Function Help
 
Ok complete novice attempting to understand functions so please no bashing. I am attempting to creat...
[4 replies] Last: [quote=Nelli]I am not sure what you mean by blocks.... He means surrou... (by lnk2019)
by qweasd
error: expected ',' or ';' before '{' token.
 
Hi there. I'm new to programming and I saw somebody working on a blackjack game and decided to try i...
[5 replies] Last: Thanks a lot! I'll work on that stuff, thanks! :) (by qweasd)
by Nelli
Big Racket Function Problem
 
I have been working this problem for 2 days now, I know I am a novice but it's killing me, I have at...
[7 replies] Last: Wow That was fast! You must pass the variables TO THE FUNCTION when ca... (by closed account D80DSL3A)
Move a character around a console window
 
I have keyboard input good, now im just wondering if there is a way to move a character of text arou...
[1 reply] : Yes, but I feel obligated to provide this link: http://www.cplusplu... (by Disch)
how should i write a syntax which diagnosis that user press enter or space?
 
in c++ when user press enter or press space i want to do defferent orders.for example when user pres...
[6 replies] Last: What don't you understand, the switch construct? or the fact that two ... (by eidge)
by Rox
How to compare command line params with strings?
 
I am wondering how I can compare the command line arguments with predefined strings/char arrays. ...
[6 replies] Last: Once again, to clearify further, 'hello' is invalid syntax and shoul... (by moorecm)
August 2011 Pages: 1... 3334353637... 39
  Archived months: [jul2011] [sep2011]

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