Beginners - October 2013 (Page 67)

Quick Question About Simple Measurement Program
 
This is our first assignment in my Intro Comp Sci class and my first real experience writing any kind of code other than "Hello World". Our teacher wants us to ...
[1 reply] : Use one temporary variable to get all the information, and one variabl... (by GRex2595)
Efficient way to read from a file?
 
I'm using this code: void initialize(){ int temp; ifstream x ("Palindroame.txt"); while(!x.eof()){ x>>temp; myVector.push_back(temp); }...
[7 replies] Last: note, if you want efficiency as in speed (rather than just easy-to-mai... (by Cubbi)
by buddn
Wins and Loses
 
I have an assignment where I had to do a devil's dice type game and use text output to emulate the screen in the IOS game. I have that all done. Now my teacher ...
[3 replies] Last: Use code tags. You didn't output anything to the new file. If you wa... (by GRex2595)
C++ dice game
 
I have a problem here, would be really nice if anyone could help me out here. Its my first time using this program so dont be to judgemental #include <c...
[3 replies] Last: Sitter själv fast på samma ställe. men jag har lyckats få ut så a... (by ralliie)
Instantiating an object
 
Hey guys need some help. Is this possible char** level; level = new Class(); Basically, I want to instantiate a new class, and give it a char as a ...
[19 replies] Last: You can't avoid generating a new board on the console, but you can cle... (by GRex2595)
by aggsyb
Moving string characters
 
If I have a few strings string one = ("aabbc") string two = ("adeef") string three = ("fffdd") in string one I want to move all pairs to the right, so i...
[no replies]
do while loop that changes lowercase to uppercase
 
I'm new to programming less than 4 days. I'm trying to create a Do While loop that asks the user for a letter, if that letter is lowercase it changes it to uppe...
[2 replies] Last: Ah, thank you so much! It worked. (by samuelweaver21)
Pointer Exception Error
 
Simple Question, Why Does This Code Throw An Exception in Visual Studio 2012. #include "stdafx.h" #include <iostream> #include <string> using namespac...
[17 replies] Last: > First one was answered already. It wasn't answered (at least not an... (by JLBorges)
by aggsyb
Beginner questions about structs!
 
Hi I am just looking into using structs, in the tutorial videos I have seen on youtube so far they seem to be declared outside of the main function so I am gues...
[5 replies] Last: No problem. I wouldn't take Bucky as your only resource though :) Fine... (by ResidentBiscuit)
Socket Programming in c++
 
hello everyone, I'm trying to make my college project which is a chat forum or more like a chatting program which will connect 2 computer or more. For that sock...
[2 replies] Last: Hi there, Since you're talking about a chat application - which is us... (by closed account o3hC5Di1)
moving pointers
 
Hi, so i have a pointer to pointer to pointer called Piece***level(Piece is a class). I created a 2d array which holds pointers so therefore my array looks li...
[1 reply] : If level is a pointer to a pointer to a pointer to a Pieces you pr... (by cire)
Input for while loop
 
I have to write a code that the user can only enter 's' or 'j'. Anything else will be rejected and send them back to the previous step. If the user enter 's' or...
[12 replies] Last: Oh, I get what you are saying now. Now that I am 90% done, I just have... (by Whateverchan)
Operator Overloading
 
Hello There, This time I'm moving on to little more advanced concepts. At my school we still use TurboC++, which does not support the string class natively ...
[16 replies] Last: @giblit Thanks Man. Thats Good Enough for me, I have a basic understa... (by Yash8976)
Two Dimensional Array Functions
 
I'm pretty cruddy at writing code. My knowledge is pretty skippy and I will brush up on it. I'm supposed to write a piece of code that outputs 50-1 with 10 col...
[1 reply] : Hint: You don't need an array with all those numbers. You can use an... (by MikeyBoy)
Help!!!
 
there are two errors which i cant figure out can u please help #include<iostream> #include<conio.h> #include<math.h> using namespace std; class vectors...
[5 replies] Last: I am sorry brv i did not want to offend you , maybe i got fraustrated ... (by Sharan123)
I am finding some error running this program
 
I have been trying to find errors please help me out here guys #include <iostream> #include <cmath> using namespace std; const double PI = 3.14...
[1 reply] : "Some error"? Wow. You're really trying hard to provide us with usef... (by MikeyBoy)
little coonfusion about pointer. "why there is a break point occuring. in line 24 (*d=**r)????
 
"why there is a break point occuring. in line 24 (*d=**r)???? #include<iostream> using namespace std; void main(){ int *p, x=10; p=&x; cout<<*p<<endl; ...
[6 replies] Last: Thanks a lot bro for attending my mistake. this really helped me to im... (by Knight Rider)
Help me I can't run this program. What's the problem ?
 
HELP ME RUN THIS PROGRAM PLEASE. I NEED TO MAKE A DEFENSE ON IT ;( #include <cstdlib> #include <iostream> using namespace std; int main() { long...
[1 reply] : Try this out: #include <iostream> #include <map> int main() { s... (by Josue Molina)
trignometric inverse problem
 
IT shows problem for acos etc but y it says it cant convert double into binary but its in double help please !!!!!! #include<iostream> #include<conio.h>...
[10 replies] Last: oh yes sorry thanks for helping (by Sharan123)
by Ltp
Linked List
 
Can anyone suggest for me a link(or links) where I find "Intro" of Linked List? I need c++ code without function/recursion .
[3 replies] Last: Glad i could help ;) by the way if you're interested i have an article... (by Uk Marine)
October 2013 Pages: 1... 6566676869... 86
  Archived months: [sep2013] [nov2013]

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