Yeah sorry im having a hard time trying to understand some of these concepts, and im under alot of pressure atm, either way im trying to write some code that will take in strings and strip the...
Type: Posts; User: dynamethod
Yeah sorry im having a hard time trying to understand some of these concepts, and im under alot of pressure atm, either way im trying to write some code that will take in strings and strip the...
Ahh yup sorry, my bad
Hey there im having a problem trying to compile my code, i get :
C:\money.cpp variable `std::stringstream ss' has initializer but incomplete type
Im not totally sure why, i've tried googling...
Hey there,
i have this following code i'd like some feedback from if possible(comments, critism, tips)
I'm a newb with C++ and currently trying to grasp the concepts of OOP
two files,...
Ahhh ok i see, thanks for that, the getchar() worked perfectly!
Hey there, ill start off by saying im quite fresh with C, but im trying
I'm having a problem with some code here:
/* Program: Course Project - CD Inventory
* Version: 1.0
* Author:...
Yes sorry for this, im overlooking some pretty simple errors, I'm really bad at coding on my own, cause usually if im with someone else they'll see something thats really obvious that i cant
...
Ok heres what i got now, but this bit has me really stumped :S
Error: too few arguments to function `void viewDB(DB)'
#include <cstdlib>
#include <iostream>
using namespace std;
Ah yup, ive changed it a bit now:
#include <cstdlib>
#include <iostream>
using namespace std;
struct DB {
int age;
Hi there, i havent coded for some time now, but ive got back into it and have been trying to code this small application that will store a persons age, name, location:
#include <cstdlib>...
Hi there, just made this little application(but borrowed some code from another classmate) which prints the following:
5*5*5*5*5
4*4*4*4
3*3*3
2*2
1
Here is the code:
omg yes sorry, ive sorted it now, it was in plain site lol, sorry bout this post again :S
Hi there, im currently learning about the <fstream> library
Basically im to write two programs, one to write to a file(app1), and one to read from the file that was created from the first...
solved, yes sorry for this thread, i didnt build the release, only debug -.-, again sorry :S
my compiler details:
Eclipse Platform
Version: 3.3.1.1
Build id: M20071023-1652
(c) Copyright Eclipse contributors and others 2000, 2007. All rights reserved.
Visit...
Hi there, just making a small app using an array, although it compiles and runs in the IDE(eclipse) just how i want it to, when i try run the app in a bash shell i get:
:~/workspace/Reverse...
ok, just edited my code a bit more, i feel even more stupid for that last piece of code i posted now lol
ive done without the char cLetter -
#include<iostream>
#include<string>
using...
when i set y in my case to 0, i seem to have a gap at the top line of the output like this:
A
BB
CCC
DDDD
Sorry :S, i should pay more attention
heres what i have now:
#include<iostream>
#include<string>
using namespace std;
if i try the same code without the 'abs':
#include<iostream>
#include<string>
using namespace std;
int main()
{
#include<iostream>
#include<string>
using namespace std;
int main()
{
int x;
int y;
char cLetter;
wow, this is quite tricky :S
im not sure how to go about this tbh, hints much appreciated!
Awwwww!!! Tesctassa!!!! you just gave me the answer!! your code works perfectly, now i cant try and solve it :S
Thats very interesting about the ASCII, it will come in handy! but that was tooo...
Awesome~!
ok getting somewhere, heres my code now:
#include<iostream>
#include<string>
using namespace std;
Ok, ive got it sorted a bit better now i think
however i think im going the wrong way about this because Daved said that a loop or two should do the trick but the way im going i will need a few...