lol oh... i'll add something like a cursor, a next() and previous() function....maybe
Type: Posts; User: codeprada
lol oh... i'll add something like a cursor, a next() and previous() function....maybe
what's so bad about templates?
was bored at work so i decided to implement a linked list. tell me what u think....all criticism is welcomed. i'm here to learn :) it does not have every single method. (wasn't that bored). oh and i...
i assume u meant && :P
Data Structures are simply structures
struct r{
int a;
char b;
} rstruct;
Data Objects
i couldn't follow the logics of your program. you basically had a for loop that iterated through a char array and upon each iteration you sent the char array to checkupper that still iterated through...
check out CreateProcess Function (Windows)
this is just the code to open a new process (which is your exe). to close it using it's process handle it must first be able to accept and trigger...
why does it have to be one string? you can pass multiple parameters to a strings via the command line.
ABC++ - Lesson 11 - Command Lines
what errors are you getting? before posting again check whether you have the same resource file from your other project in this project. you'll need the resource file as it stores all your ID's,...
have a call to the ignore function before your getline so that the '\n' from the previous line won't be parsed by the getline function causing it to read nothing and thus throwing off your data >>...
your class Tweet should look something like this
class Tweet
{
public:
Tweet();
Tweet(string subject, string message);//constructor
string Tpend(string subject, string...
to keep track of the differences you can make an array with size [n - 1] with n being the amount of numbers being tested. so when you calculate 8 - 5, 3 will be the value of the first index and so on...
read the user input as a char array or string and run a loop through it. the first char in the array or string will be set as your min and max then as you iterate through the loop use conditional...
fairly simple...break it up into parts. like for instance code the parenthesis first then move outwards till you've finished it.
^ this
#include <iostream>
#include <string.h> //Codeblocks needs this
using namespace std;
int main(int argc, char * argv[])
{
arrarys! learn live love em
since it's just 5 numbers you were testing i kinda cheated xD. what i did was declare an array for 5 integers and made the do while loop execute 5 times. (x < 5). it...
other than writing it out manually which a switch statement the only other thing that comes to mind are maps
#include <map>
...
...
int main()
{
@phantomotap
i coded, inherited and abstracted what i did for a reason. 2 ways because (*abc). and abc-> are the same thing.
(*abc).C::B::print2();
(*abc).B::print2();
...
-__-
it defeats the purpose of the whole thread. note the heading says classes. use a class to output the right string.
i didn't think i had to specify that
i meant the string in here:
delete ((std::cout << "CORRECT OUTPUT"), abc);
if u have nothing proper to say then don't post please.
congratz u saw through all the mumbo jumbo i placed in there =D.
umm dude... no one codes like this OBVIOUSLY that's why is a FREAKING CHALLENGE to get your ass thinking. i deliberately made it that way so if you don't know what you're doing then you're screwed...
i'm sorry but that doesn't count. why?
delete ((std::cout << "I CAN OUTPUT ANYTHING I WANT"), abc);
just by changing the string it doesn't work anymore. it's just another way of writing to the...
Was burning time at work so might as well code something. Below are 4 classes. Each class has functions that print either a positive output or a negative output.
This is mostly for the...
what he meant was store the passwords in a string array .