Beginners - October 2012 (Page 53)

Segmentation fault: 11
 
hello i am compiling this code on MAC OSX with llvm-g++ and it is giving me a segmentation fault er...
[11 replies] Last: @helios It's the numbers of elements. Yes, I know that. What I w... (by Aceix)
Algorithms
 
Hi all I want to write algorithms(steps, not STL algorithms) for my project before start doing m...
[no replies]
by nahla
Extracting substring....
 
Using substr and concatenation, give a program containing a sequence of commands that will extract c...
[5 replies] Last: Well, there's certainly no need for 20 strings. string input_str... (by cire)
vectors and vector iterators
 
Vectors are new to me and I am having a hard time finding documentation on how to use them. I am als...
[5 replies] Last: Ah yea I meant erase(). Not sure why I said remove(). (by ResidentBiscuit)
array and number
 
I need help finding numbers within an interval. I have to follow by this function and im lost as to ...
[7 replies] Last: THANK YOU! (by Filipe Ribeiro)
by eyali
template return type
 
Hi All I'm a little confused... Say I have thr following function declaration template <...
[4 replies] Last: I see now. Thank u for ur help :) (by eyali)
Help Please
 
ifstream read("hello.txt"); string on; getline(read,on); cout<<on<<e...
[8 replies] Last: You solved!! Thanks For The Help Guys.. :D (by mrghaia)
Homework help!!!
 
Hi, I'm currently working on my homework and got stuck with classes so it would be very helpful if a...
[1 reply] : For: bool Person::isFree(const Date& time) const //is person avail... (by abeatte)
Effective way to solve this problem
 
I have to do the program which takes from user: n - number of elements m - how many pairs the elem...
[no replies]
Bubble sorting of array
 
Hi guys, need a bit help with sorting of array. I have this code, but for some reason it does not...
[3 replies] Last: Thank you guys. Fresh eyes helped. I see my mistake now. It kept throw... (by Nurlana)
Constructors, Please help with the program
 
#include<iostream> #include<string> using namespace std; class str { char *name; int len; str() {...
[5 replies] Last: str s2("York"); is direct initialization: http://en.cppreference.co... (by Cubbi)
const ??
 
I tried looking at a few websites but couldn't really get a good ans. Why is : Fn( std::vector...
[5 replies] Last: @Framework : I am passing pretty big arrays of values by reference s... (by navderm)
by Aceix
Compatibility Issues
 
Why is it that, when I create a programme for windows, using the Windows API and C++, in MSVC++ 2010...
[4 replies] Last: Why is it that, when I code(build my programme) on Win 7(both Debug a... (by Chervil)
i suspect this is the most simple array problem here but
 
shurley this should ouput a table, i feel like maybe i have forgotton something fundemental, instea...
[13 replies] Last: Done :D (by Dala Darko)
by nico56
[C++] Writing binary file
 
Hi everyone, I have the following program: #include <iostream> #include <fstream> #inc...
[4 replies] Last: If you're trying to produce a file in a specified format (241 characte... (by Cubbi)
int and char
 
#include<stdio.h> #include<conio.h> int main() { char str ; scanf("\n%s",str); i...
[6 replies] Last: The permitted length of the user input in the scanf statement needs t... (by Chervil)
by Gali
C++ Training
 
Hi all I work in the training department in my ordganzaiton and we are looking for a free online ...
[2 replies] Last: You may finf University of Groningen's 'C++ Annotations' a useful reso... (by JLBorges)
Pointers - help
 
I have some homework to do but these pointers are confusing me a lot. So I have this code under: ...
[2 replies] Last: My personal opinion is that the pointer current is int type I see h... (by Moschops)
Prime Number Generation
 
How to write a program that will print all the prime number between 1 to n? I can write the progr...
[1 reply] : Set a value to 2. For all number s less than value and greater t... (by Moschops)
HELP!!! Stuck in a Loop.
 
Hi everyone; I am new to C++ programming and wanted to write a program to tell the user his/her e...
[3 replies] Last: [quote=soli]Sorry, I don't have enough courage to read the rest of you... (by Aceix)
October 2012 Pages: 1... 5152535455... 84
  Archived months: [sep2012] [nov2012]

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