Beginners - October 2008 (Page 8)

by Coso
Hi!
 
Hey guys I need some help, I'm new with programing and some line off codes are pretty confusing for me. Like this: mail_adress = name. at(0) + Surname +.... W...
[3 replies] Last: Ok,I got it now! Thanks guys! This site is amazing!!!! (by Coso)
class program
 
hi i am trying to run this prog. on classes but the compiler is showing error in line 33.---i am not able to get that plz help /*1. Make a class called...
[1 reply] : I see a lot of people load up code in a message like you do. Try to us... (by Scipio)
Sending string to microcontrol through Serial communication?
 
HI, My requirement is: I need a pass a string from Visual basic to Microcontroller through serial communication. My Visual basic program is working fin...
[1 reply] : This sounds like an issue due to the different way strings are held in... (by Faldrax)
Getting text from file
 
I want to get whole string from a file ending with an another string. as i have textfile data.txt - kjasjdjasdkjadajsdad/asdaskjdkasdkjakjdasd//jsdfjdasfj...
[2 replies] Last: Use the getline function and read up to the // You can learn to use i... (by Umz)
any idea about delete ?
 
#include <iostream> #include <conio.h> #include <fstream> #include <iomanip> #include <stdlib.h> int main() { char name ; double IC; const ...
[5 replies] Last: #include <iostream> #include <conio.h> #include <fstream> #include ... (by low1988)
Int input loop in main function not working!!!!!
 
I am writing a program for my class, basically, I have my functions written out and they work just fine on independent cpp files....what is killing me is we're ...
[1 reply] : Something like: char line = {0}; do { cout << "Enter Numbe... (by Zaita)
is Dev-C++ a good compiler?
 
I am using the free Bloodshed Dev-C++ compiler, version 4.9.9.2. I want to know if any of yall have used it, and if it is a good compiler to use. I am asking...
[8 replies] Last: Zaita, I never did understand that video. Her boyfriend was such a Dou... (by Cerburos)
by Foe89
while/ do while loop (1,2)
 
I'm given this simple program #include <iostream> using namespace std; main() { int num1, num2; char again; while (again == 'y' || again ++ 'Y') co...
[25 replies] Last: You will notice that cin >> input; terminates after the space char a... (by Zaita)
by klmklm
arrangement of main
 
Input: two integer numbers, the first in the range 1..12. The second one greater than 1899. If the user enters numbers outside those ranges, the program should...
[3 replies] Last: In void display() I think is better if you use a switch instead of ma... (by Zaita)
Cross-Inclusion of C++ classes
 
Hello, Structure of program is as follows: A.h #ifndef A_H #define A_H #include "B.h" class A { public: A(B); }; #endif B....
[3 replies] Last: IMO. That should cause an infinite loop trying to declare one of those... (by Zaita)
How to convert char to string
 
Hello, I have a problem where I need to convert a char to a string and then a string to an int. Any help will be greatly thankful!!! Thanks in Advance
[5 replies] Last: I would've thought: string mystring = string(char); was sufficient... (by Zaita)
JAVA or C++??
 
Hello there.... I'm quite new to CPP programming, and so I don't know much about the history and advantage of the language. But what I really would like to kno...
[5 replies] Last: My friend told me that, if u know C++, u need only 1 month to learn J... (by Zaita)
by quant
int to char or else
 
I need take every new line and print that. What can I do with it? char *str; int q; while(!feof(file)){ q = getc(file); if(q == '\n'){ ...
[2 replies] Last: string input ""; do { cin.getline(input); if (input != "") ... (by Zaita)
Animate a circle loop
 
I need some help. I want to have a circle arching/dropping but I do not get loop that I need to use. How do I do this? { AppWindow Win; Setup(Win, 0, ...
[1 reply] : OpenGL would be a quick easy way to do this. www.opengl.org (by Zaita)
dynamic Memory and pointers
 
Hello! I've got some questions. I'm new in C++ and don't know much about technical aspects. 1. For example there is my little function: #include <ve...
[1 reply] : Firstly, lets look at some problems with your code. 1) Your creatin... (by Zaita)
Allegro
 
OK so im using an intel Mac and downloaded and installed Allegro as the instructions said to: chmod +x fix.sh ./fix.sh macosx make sudo make install ...
[1 reply] : You need to link your application to the allegro library by the look. (by Zaita)
Function return problems
 
Hi, I'm taking a C++ class and I'm having trouble with my solution. My problem is that my functions don't appear to be returning their values to the uninitializ...
[5 replies] Last: As i have learned (i'm pretty new to programming :)), you don't pass a... (by Scipio)
by MIHAN
"graphics.h" Error BGI graphics not supported under Windows
 
hi there. i'm newbie in c++ and i don't know what to do... then i use module "graphics.h" the computer says me: !GRAPHICS.H(20,52):Error BGI graphics not sup...
[2 replies] Last: оО :) i decide my problem! File ==> New ==> Project Platform: DOS... (by MIHAN)
Error : 'class' type redefinition
 
Hello, I have structure of my classes as follows Object.cpp class Object { }; Integer.cpp #include "Object.cpp" class Integer : pub...
[9 replies] Last: Probably pointers are your only option, but that could be a fairly sig... (by jsmith)
overloading cin and cout
 
getting the following error message error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'const char ' (or there is no acce...
[3 replies] Last: Oh right right, once you enter the variables you initialize my machine... (by Umz)
October 2008 Pages: 1... 678910... 20
  Archived months: [sep2008] [nov2008]

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