Beginners - December 2012 (Page 15)

by maroun
problem with arrays
 
I have those simple Classes : #include <iostream> using namespace std; class ms{ public: ms(){cout<<"ms built";}; ~ms(){}; }; class mm{ ...
[3 replies] Last: Thank you very much !! got it :) (by maroun)
Inlining Functions
 
Fixed!
[no replies]
output to text file
 
I want the output of a c++ program to be printed in a text file instead of command line/console. how to do it? I am using dev c++ 4.9.9.2 compiler.
[3 replies] Last: another way is to run the program from the command line and redirect t... (by SamuelAdams)
How does header files links with other files?
 
// in myclass.h class MyClass { public: void foo(); int bar; }; // in myclass.cpp #include "myclass.h" void MyClass::foo() { } //in...
[5 replies] Last: Oh 'linker' i see it in the compiler option, i think i get it now, tha... (by selenium)
Trojan Virus emanating from my Code
 
Here is the code: /* pattern.c * -------------- * This file makes a nice pattern when you enter a number. * Code by Usandfriends. */ #include <stdio.h> ...
[4 replies] Last: It's a .c file, maybe those .h includes are expected (by Lowest0ne)
by hasak
why this program doesn't work ??
 
#include<iostream> using namespace std; int main() { char a ,b ; const char d ="Hasak"; const char e ="nimukaet"; int c=1; a:cout<<...
[4 replies] Last: was just checking errors with a compiler and missed the idea of that s... (by Darkmaster)
Access the internet via programs
 
I really don't know if this is the right place to post this but I really need a solution. How can i make a program access an online file. Supposing I want t...
[5 replies] Last: I recommend with Linux. Pick a distro you think looks cool. People gen... (by ResidentBiscuit)
Help needed with various time functions
 
Hello helpful friends, Hi I am newbie to c++ but not new to programming. Trying to write a program that will show the Time from various Time zones like Toron...
[2 replies] Last: #include <ctime> #include <cstdio> int main() { std::time_t now ... (by JLBorges)
why this loop?
 
I have a project I'm working on that's got several parts to it. I'm only including the first parts on this post (for now). It involves reading a file of 30 stud...
[15 replies] Last: I haven't even looked at that menu option yet. The code below the menu... (by angrybeaver76)
help me with an io problem
 
my program is basically to ask the user to input the number of input files and the name of each input file. Then, it concatenates every line of input files with...
[1 reply] : Before C++11 there was no overload of open that takes a std::string as... (by Peter87)
rotate left integer
 
#include <iostream> #include <stdlib.h> typedef unsigned char byte; using namespace std; unsigned int rol32 ( unsigned int x, byte times ); int main()...
[3 replies] Last: It's a bit strange behavior which may have something to do that the mo... (by coder777)
Hello
 
Hi i'm a new in the c++, i want to find someone to help me solve some problems thanks ;) I come from China
[1 reply] : just make a post here with your code and what your problem is and how ... (by Darkmaster)
Need help
 
Hello I need help with my c++ code I wrote the statement that makes it read from a file which was file>>cust.numcust>>cust.arrtime; "As file is the nam...
[9 replies] Last: this should be possible within a loop without modification. We can't ... (by coder777)
SFML
 
I am trying to Get SFML to work with code blocks but it just wont! I followed the tutorial on the site exactly as it said. But I keep getting an error. main....
[7 replies] Last: I got an error saying this program couldn't start because sfml-graphi... (by Fransje)
Sending text to email
 
I am trying to do something for contacting my gaming team , but i need a program for it witch helps me sending email with the text that has been filled in the p...
[9 replies] Last: Use libcurl for this, there is an example code on their webpage: http:... (by modoran)
Linking GMP to XCode 4.5
 
Does anybody know how to link the external multiprecison library GMP to XCode 4.5?
[no replies]
problem with geometric forms
 
hello ..i need to show that on the screen. and use 5 punctions Menu of possible shapes: 1] Isosceles triangle 5] Trapezoid 3] Parallelogram Please enter y...
[1 reply] : your main is int your functions are void, since you only have output ... (by Darkmaster)
by werlay
problem getting all lines read in
 
Please anyone, Am having problems reading all lines of my txt file. below is the function i wrote to read the data in the file and search thru them. but it app...
[6 replies] Last: the programme above only cout << the content of the file but no search... (by werlay)
Sorting arrays and keeping them in sync
 
I need to know if I'm writing this sort function correctly. that sort's an array of #'s into descending order while maintaining the link up of another array of ...
[9 replies] Last: Yes thank you, i finally figured it out! Thank you all so much for the... (by bainofmyexistance)
tutorials or guides to install
 
Hi, I'm looking for a step by step, fool-proof guide or tutorial on how to get through the daunting task of installing wxWidgets and compiling with wxWidgets...
[10 replies] Last: Thanks for all the help I will be sure to PM and I hope other people f... (by GoldenBoy)
December 2012 Pages: 1... 1314151617... 65
  Archived months: [nov2012] [jan2013]

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