Beginners - March 2014 (Page 58)

having trouble with coding on dev c++
 
Write your question here. 1. Input 2 integers and display them in ascending order 2. Input a persons’ age and check to see if the person is not a teen...
[1 reply] : Hi please post whatever code you have currently for these exercises. (by closed account 18hRX9L8)
Reality check
 
So i am getting pretty into C++ and i would say im not exactly good at it. but skilled enough to accomplish most anything i have put my mind to. but as i am loo...
[6 replies] Last: First off - I recommend you getting Code::Blocks. It's really good IDE... (by MatthewRock)
by dero
Problem using strcmp and strcopy, strlen
 
hey all I am facing a problem when I tried using strcmp, my program is suppose to compare two strings and check if they are equal based on this equality, sever...
[13 replies] Last: well I did give it a try as u mentioned ... here 's what I have come u... (by dero)
whats wrong with my code?
 
Help. I am new to C++ and am trying to program that looks like this. * *** ***** ******* ********* ********* ******* ***** *** * Cant seem to figure...
[1 reply] : line 5 those variables you only use j on line 8. Since line 6, 14, and... (by giblit)
switch from max to min
 
Write your question here. how would i change it to where it gives me the min instead of the max #include <iostream> int main( ) { using namespace...
[2 replies] Last: i was making it harder than it was thanks (by TheMikey87)
plz help
 
hi im really new to c++ so i need alot of help im making a program that when the user enters a name it terns it into a number for ea letter so if my name was j...
[1 reply] : can any 1 help (by theroken)
Timing functions
 
I need to time the amount of time it takes to run a recursive function vs. an iterative function. Everytime I run the program I get 0. Is there a way to calcu...
[7 replies] Last: Yes, naive recursive algorihm has complexivity of O(2 n ). That is rea... (by MiiNiPaa)
Class Pointers
 
My goal is to create a sort of template file(s) for handling user-input into the command line that I could use for any console application that I'll be creating...
[15 replies] Last: Could you please explain the differences between <> include format an... (by MikeyBoy)
Username and Password
 
Umm. What's the problem with this? Can you help pls. Q~Q If i'd input the correct username and password first, it says access granted, so it's okay. But if i'...
[5 replies] Last: PLs where is _clrscr :( ??? If there is a predefined one i reallt want... (by SorinAlex)
Tell me some libraries for internet access
 
.. i think i learned everything from the beginner book for c++ .. and i want to go on next level .. i want to make some programs that will send/recive informati...
[2 replies] Last: alright .. im learning WinSock right now .. tnx (by SrgjanLDTeam)
by enemy
Meaning of line with "if"
 
Hello! Please, what is the exact meaning of the line 20? as b-> is a: if ( a.?) isitme(a) it returns "true". so: if (a.true) meaning : if it is...
[1 reply] : Well line 20 just returns 0? as far as line 18 basically it checks t... (by giblit)
"this"
 
Am I correct in saying this? I'm still trying to wrap my head around "this" pointers... Thanks in advance! "this" keyword is a type of pointer and when using...
[6 replies] Last: That's more like it, cheers man. (by ALEXCX2PLUS)
by bmeade
Find @ in a text file using <fstream> and output
 
Hello, I had a a post for this already but I have completely rewritten my code so here we go again. The purpose of this program is to simply read a .dat / te...
[1 reply] : Please use code tags when posting http://www.cplusplus.com/articles/z1... (by Yanson)
I need some help :))
 
Hi, guys. Im kinda new in programming and still find myself in trouble trying to make some codes work. ive been doing this one but i cant make the search option...
[no replies]
by quayda
Vowel Removal: I'm doing it wrong. C+
 
Well, I had a different code before, but I started over because I was just lost. I'm very new to this world of programming, and unfortunately I can't say I'm a ...
[1 reply] : getline uses a string not an int (by Yanson)
by n30n
c++ class function to create webcount system
 
trying to make a system to get, hit, reset, and set. I have to use private and public. the objective is to establish some webcounter to display how many users a...
[no replies]
by chofs
problem with swapping values in array
 
hey guys am trying to swap numbers within my array but i keep getting the same number from text file not been swapped.....please help....ignore my print functio...
[no replies]
by axtyax
error compile allegro5 on linux
 
Write your question here. So when i compile the regular display example for allegro 5 using this command on my Linux terminal: g++ main.cpp -o run.o -I/us...
[8 replies] Last: Great! i fixed it thanks for your help! i used this command: g++ -W ... (by axtyax)
by bmeade
Read and then write strings.
 
Ladies and Gents, I have an assignment right now where I must read a text file "mail.dat. While reading this text file I must located and write only strings ...
[8 replies] Last: it is only reading the first sting though. (by bmeade)
by enemy
More objects pointed by x
 
Hello! Please, if we have more objects of one class pointed by x, how do we decide which is x , x ,x etc? Hpw can more objects of one class be pointed by t...
[no replies]
March 2014 Pages: 1... 5657585960... 79
  Archived months: [feb2014] [apr2014]

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