Beginners - November 2012 (Page 18)

Need little help with a function please.
 
Hi i'm quite the beginner and I'm just trying to make this work: for(i=1;i<=parties;i++){ if(tabC -tabA >diff) diff=tabC -tabA ; tabC =X; tabA =Y; } ...
[4 replies] Last: So your issue is that an if statement will only take up until the next... (by mukomo)
what is socket programming and how do i get into it at beginner level?
 
i will have a raspberry pi and i will connectify it to my laptop, i will want to create programs that send and recieve data via the network cable...where would ...
[no replies]
by dusty
Prime number function
 
I've looked through the archived questions and have found no help. Can someone please tell me why my function fails to return any prime numbers? #include <io...
[2 replies] Last: Yep, that's it. Thanks! (by dusty)
i want to send "hello world" from one computer to another, then from my comp to a server; where would i find tutorials
 
also what apis would i need? then images? do i need an api to send jpgs and mpg etc? where should i start looking or what should i start understanding?
[1 reply] : is their a c++ net api tutorial for beginners or was it a myth?? (by devonrevenge)
Cursor pos
 
Hello! How can I change cursor position in console application. I reviewed the iostream functions and didn't find anything useful. help please! for example if...
[no replies]
by Borab
Trying to print a certain shape
 
Greetings, I'm trying to print this and I'm wondering if someone can help me. Example: Input = 5 Prints: *aaaaaaaa* **aaaaaa** ***aaaa*** ****aa**** *********...
[7 replies] Last: Thank you guys for the quick and helpful answers. Took me a long time ... (by Borab)
How to scan a string?
 
Hello. My task is to programm a infix to postix programm. I already created a stack with a linked list. Now I need to scan a string and for example if somebody...
[1 reply] : I'm not sure what you mean by line 65 "it==t". I understand this is wh... (by mukomo)
by se123
Arrays and Roman Numerals
 
I am writing a program that lets the user put in a value and the program puts the decimal and roman number into parallel arrays. I have never done an array but...
[1 reply] : I went back and looked at the directions and all I need to do is have... (by se123)
What should I do to get a reply ?
 
hi i've been working on this not for hours but days and weeks already changed it tooo many times read tooo many comments here and I am so confused already that ...
[6 replies] Last: well yeah here is the other thing I am quite unsure about... Can I cr... (by ive7ooo)
by Tate
Output for Two Arrays Not Displaying Correctly
 
My program is working but the output isn't displaying as it should. Here's the INPUT : 62 61 59 64 60 54 57 53 60 55 And this is how the OUTPUT sho...
[2 replies] Last: Thanks, Vlad! It works perfectly now... (by Tate)
by compp
Can you help me to solve the problem in 315th line pleasee (1,2)
 
#include <iostream> #include <cstdlib> #include <ctime> #include <cmath> using namespace std; void generateCoupon(int columnCount); void generateCoupo...
[29 replies] Last: It workedd :) (by compp)
by Q Mae
OOP: Overloading Operators, Assignment Operator
 
Hi everyone. This is my first semester of programming, and I have been doing fairly well. I do have a question concerning OOP. I get this error when I am tr...
[1 reply] : It is strange enough that the errorneous statement is a = b - c; and n... (by vlad from moscow)
Help for CSCI 127 Class
 
We recently started learning C++ in my class and we have a project where we have to make a program in C++ that can count all the As Ts Gs and Cs in any given DN...
[11 replies] Last: #include <iostream> #include <string> using namespace std; int main... (by sammy102093)
Just Help Please :(
 
hi .. my name is Ahmed from Egypt i just have assignment on array and i never take this lesson and no one want help me so please i have just 3 Q :) 1- Usin...
[3 replies] Last: Thanks All ... i just can't get the Q number 2 ??! :( ... (by nestatiko)
Where did it go?
 
Trying to understand this. //Get number cin >> dPhone; //Show information at index and "delete an entry." while( index < size && !found ) { if(tele ....
[no replies]
Prime numbers: print 10 only per line
 
Hey guys, I'm fairly new to C++ and programming, one of my task is to print the first 100 prime numbers, with 10 of them per line with size 4. I got on really w...
[3 replies] Last: guys thanks so much, really helpful. Cheers! (by johnnyboy710)
by cjr15
How do prompt user to repeat the program or finish using it
 
Hello im quite new to c++ and havent really got a strong knowledge of it as i am just picking it up . i am loooking to make this program prompt the user with " ...
[4 replies] Last: Thank you both so much , youve saved my life , much love xx (by cjr15)
by cjr15
file handling methods
 
what file handling methods could be used for a grade calculator in c++ ?
[no replies]
Time (1,2)
 
I have a couple messages that if the user enters a wrong choice it says invalid choice then it returns a value to main. But the thing is I don't want to screen ...
[24 replies] Last: Worked...simple fixes are nice. Thank you Chervil! (by jlillie89)
converting string to decimal digits?
 
Hello there! This is the first time actually posting here, forgive me if I do something wrong. I'm a beginner C++ student, we just started with arrays and st...
[15 replies] Last: Well, I had a proper look at the add() function and found several erro... (by Chervil)
November 2012 Pages: 1... 1617181920... 75
  Archived months: [oct2012] [dec2012]

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