Beginners - July 2011 (Page 21)

counting vowel in a string
 
int vowelcount (char ,int,int) { int vow_cnt=0; for(int i=0;i<strlen ;i++) { if(name == 'a' || n...
[3 replies] Last: here is another way, a simple function: #include<iostream> #include... (by muratagenc)
by Baso
getline with pointer
 
I Want to know what is the wrong in this code, or which function could I use to get string referred ...
[2 replies] Last: Thanks Webjose I used istream::getline(), and it works . Thanks. (by Baso)
Error using sentinel with an Array
 
Hello, When I fill the array my program works, but if I use the sentinel to end the loop (in this...
[2 replies] Last: I'm still not seeing what I'm doing wrong. Why are my outputs coming o... (by Cutegun)
Console freeze bug at different points every time
 
[no replies]
why is not reading
 
#include <iostream> using namespace std; void printarray (int arg , int length) //printarray...
[2 replies] Last: Also, on line 38 it is spelled wrong which will stop the program. inst... (by SteveISTBullit)
New Guy Needs Help
 
Hi, im super new to this but its slowly making more and more sense. Anyway im following along in a b...
[5 replies] Last: The only things that actually needed to be done to make this program r... (by SteveISTBullit)
Making a char array with an int in it
 
So I'm making a bunch of histograms and I need to set their titles in a for loop. What I need is to...
[1 reply] : The recommended approach in C++ would involve using a string stream. s... (by closed account DSLq5Di1)
Inputing multiple entries in a 2D array on one line
 
SteveISTBullit (1) Jul 21, 2011 at 1:24am I am creating a program that allow the dimensions and va...
[no replies]
by fram
Passing an Array between 2 functions
 
Hi! So the purpose of my program is to prompt the user for an input file which contains on column o...
[no replies]
i need help
 
i'm a beginner. just start programming. just have difficulties in some of the codes. can someone mak...
[4 replies] Last: This is what I got, it has a continue (YAY!), may be wrong though. ... (by creekist)
Email parser problem
 
Hello. I'm having problems making a program read a text file and skip emails that consist of two con...
[1 reply] : It's rather difficult to follow the code. There is no indentation. T... (by PanGalactic)
by mikeCC
String Problem Question
 
Hello, I am taking a C++ course and was given this problem to work out: Write and test a C++ func...
[4 replies] Last: I got it working, thank you! (by mikeCC)
Difference between .exe.embed.manifest and .exe?
 
I am trying to create a .exe file using visual studio 2008. I was under the impression that you sim...
[2 replies] Last: Think I figured it out. I was getting the following warning when comp... (by drunken meerkat)
by cp666
weird bug in switch statement
 
pasted from source file // lib -----------------------------------------------------------------...
[2 replies] Last: You might want to check for new lines (ascii 10) as well (by shacktar)
turning .cpp to an executable exe file for windows and an executable file in linux
 
after you build your file (using Code::Blocks or Netbeans) how do you turn it into an executable exe...
[5 replies] Last: using many archive files and based on depency Are you perhaps thinki... (by Athar)
unresolved external symbol
 
I had two, but I dont see what is wrong with this one. error LNK2019: unresolved external symbol ...
[1 reply] : Date::printDate() is not defined. (by closed account DSLq5Di1)
Rounding Problem
 
why does cout<<(111.1*1.111)<<endl; print 123.432 when the output should be 123.4321 using vis...
[6 replies] Last: The default will truncate them, when no flags are set (e.g., cout.setf... (by Audie)
Loading Resource
 
I'm having this issue with a project I'm doing and I'm unsure on how to do it. When the program i...
[1 reply] : Laurent on the SFML forums is usually very active and helpfull, so are... (by vlad61)
Problem with sort
 
I cant seem to figure out why my sort isnt working, its fine until it actually swops an element then...
[1 reply] : If line 10 is correct, then what is the point of line 8? (by jsmith)
loop problem (1,2)
 
#include <iostream> #include <string> using namespace std; int main(){ string answer; for(;;) ...
[22 replies] Last: thanks everyone (by metulburr)
July 2011 Pages: 1... 1920212223... 54
  Archived months: [jun2011] [aug2011]

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