Search Results

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Code Shark ; Forum: C++ and child forums
Forum: C++ Oct 27th, 2008
Replies: 3
Views: 381
Posted By Code Shark
#include <iostream>
#include<string>

int main() {
for(int i = 0; i <= 10; ++i) {
std::string triangle(i, '*');
std::cout << triangle << std::endl;
}

...
Forum: C++ Oct 21st, 2008
Replies: 3
Views: 396
Posted By Code Shark
* << endl;

can someone help? how can i make the program work?
Forum: C++ Oct 20th, 2008
Replies: 3
Views: 396
Posted By Code Shark
i cant get access to a pc atm im on my psp..

for(i = 0; i < 11; i++) {
triangle(i, '×');

cout << triangle < endl;
}

triangle is a string. ty
Forum: C++ Jul 28th, 2008
Replies: 9
Views: 1,529
Posted By Code Shark
Hey. The title displays the error and i was just wondering how i could fix it. Thanks!

#include "resource.h"

IDR_MYMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit",...
Forum: C++ Jul 19th, 2008
Replies: 1
Views: 390
Posted By Code Shark
Hey.
I am wanting to make this program so that the user can move the position of his characters. I have made a attempt but i am confused about some bits.

// Code Shark

#include <iostream>
...
Forum: C++ Jul 19th, 2008
Replies: 3
Views: 561
Posted By Code Shark
Hello, I was wondering if all i need to add was another do loop outside of the current do loop for the program to keep asking H, L, or E when an invalid character was entered?
Forum: C++ Jul 14th, 2008
Replies: 3
Views: 561
Posted By Code Shark
Hello, I made this program that has random values and you have to choose to say if the next number will be higher - or lower. I completed the code and successfully had no errors but when the user is...
Forum: C++ Jul 13th, 2008
Replies: 15
Views: 1,668
Posted By Code Shark
Hello, I read in a thread that you could use system("start http://www.daniweb.com/"); to get the page Daniweb (http://www.daniweb.com) but I am wanting to write a program that the user can enter a...
Forum: C++ Jul 13th, 2008
Replies: 14
Views: 1,346
Posted By Code Shark
Hello, I'm new to this forum and have a brief knowledge of C++. I made this program to ask the user for a word and make it so the word would not be allowed any "i's". I completed the task just my...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC