Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
88% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Endorsement
Ranked #858
Ranked #977
~35.3K People Reached
About Me

I live in Greece and study Informatics at the Technological Educational Institute of Athens.

Interests
Music, Web Design, Design, Movies

45 Posted Topics

Member Avatar for begueradj

Hi, although I'm not sure this is the correct place for your post, try using 'make' command

Member Avatar for biswajit.jgec
0
743
Member Avatar for acmarshall

Try making the op variable of type [I]char[/I]. You will also want to begin your do{...}while loop a little bit earlier before the [COLOR="green"]cin >> op[/COLOR] command hits.

Member Avatar for HiHe
0
10K
Member Avatar for vegaseat

You can do that by using CSS. Supposind you want to change the background colour of class [b]MenuOption[/b] object: [CODE] .MenuOption:[COLOR="green"]hover[/COLOR] { background-color: grey; } [/CODE]

Member Avatar for TonyG_cyprus
0
3K
Member Avatar for sillyboy
Member Avatar for mikrosfoititis

[INDENT][B]Hello, everyone[/B][/INDENT], nice to feel so welcomed here! My name is John and I study Informatics in Athens, Greece. I'm using the nickname mikrosfoititis which could be translated as "young student". I'm into C++, C, HTML, CSS, and basics of MIPS Assembly, PHP and JAVA. I would really love to …

Member Avatar for Jashandeep
0
164
Member Avatar for lucyaurora

Well, what kind of expectations do you have in building a game? How do you imagine it is going to look like; Because if you're planning to build some 3D first person shooter with awesome graphics rather than a simple tic-tac-toe board, then you're gonna need a lot more than …

Member Avatar for LdaXy
0
466
Member Avatar for PrimePackster
Member Avatar for jefgreen

Make variables [COLOR="Green"][I]sc1[/I][/COLOR], [COLOR="green"][I]sc2[/I][/COLOR], and [COLOR="green"][I]sc3[/I][/COLOR] of type char, as you want the user to enter a signle character in them.

Member Avatar for jefgreen
0
199
Member Avatar for Akusa

By the way it is moving diagonially because you set the move in accordance to [icode]i[/icode]. Each time the variable is increased in the for loop, your "character" is moving both at x and y directions.

Member Avatar for Schol-R-LEA
0
428
Member Avatar for MylesDBaker

We won't reach an understanding until you at least tell us what it is supposed to do.

Member Avatar for MylesDBaker
0
141
Member Avatar for airtoncbr

Well they are kind of obvious... Let's start from the bottom: [list] [*] [CODE] void delete_list() { nodo* point = ult; while (point!=NULL) { nodo* p; p=point; point=p->ant; ult=point->ant; delete p; } [/CODE] You're missing a semicolon here. [*] [CODE] nodo search_nodo (int n) { // ----- Função procura nodo …

Member Avatar for airtoncbr
0
405
Member Avatar for Thermalnuke

Tried to follow, but lost it somewhere near... [CODE]input[count] += inputtotal[count];[/CODE] Would you like to insert some comments telling us what you expect each of these statements to do? Then we will be more likely able to help you.

Member Avatar for Thermalnuke
0
163
Member Avatar for MugANDGlass

Just use getline() when you read strings from the user. Remove [ICODE]cin>>newptr->title[/ICODE] and [ICODE]cin>>newptr->author[/ICODE] from your code.

Member Avatar for Lerner
0
156
Member Avatar for tformed

Why not use [ICODE]e^((ln(x))/2)[/ICODE]? That's the formula they use to find square roots (x is the number to be calculated and e is the know constant).

Member Avatar for mikrosfoititis
0
1K
Member Avatar for paranoidSandra
Member Avatar for gourav1

You have to decide, is it e[COLOR="Red"]gd[/COLOR]e or e[COLOR="red"]dg[/COLOR]e the name of your struct?

Member Avatar for mikrosfoititis
0
254
Member Avatar for Hamilton89

First of all you need to get rid of the while loops in your if and else if statement: [CODE] if (( random_temp >= 12 || random_temp < 17 )) { [COLOR="red"]while( random_temp >= 12 || random_temp < 17 ) {[/COLOR] cout << " Temperature below 17 Degrees Celsius " …

Member Avatar for mikrosfoititis
0
740
Member Avatar for topdos

Your i variable you use in your for loops should not exceed 9: [CODE] for(int i = 1; i < 10; i++) // Not i <= 10 ! // ... [/CODE] [CODE] cout<<"\n\nContent of array 1 : \n"; cout<<array1<<endl; [/CODE] This won't work. Print each value seperately instead, using again …

Member Avatar for topdos
0
451
Member Avatar for dancks

The order that the compiler compiles your headers and sources is defined in a "makefile". You need to either create one on your own either create a project using a modern IDE and import these files in it, then compile.

Member Avatar for dancks
0
300
Member Avatar for subith86

[QUOTE=subith86;1710337]Hi all, [CODE] char *temp = "poiuytrewq"; [/CODE] [/QUOTE] You need to occupy memory before you do the initialisation: [CODE] char *temp = new char(255); temp = "poiuytrewq"; [/CODE]

Member Avatar for subith86
0
179
Member Avatar for jcAmats

Yes, as seen above in the menu() function, he/she uses: [CODE] cin >> level; [/CODE] Use cin.ignore(), as Schoil-R-LEA suggested, after that statement.

Member Avatar for jcAmats
0
385
Member Avatar for thebiff

You can create a loop using the argc argument. Supposing you want to start from argument #1: [CODE] for (int i = 0; i<=argc; i++) { //Your code goes here } [/CODE]

Member Avatar for thebiff
0
359
Member Avatar for sita12345
Member Avatar for Fbody
0
100
Member Avatar for Taino

You could also use a do {...} while() loop to have the user enter new answers each time instead of repeating the same code over and over. :)

Member Avatar for mikrosfoititis
0
124
Member Avatar for terence193

You are trying to print a character as a string: [CODE] printf("your quote was : %s",ch); [/CODE] I'm not sure why toupper doesn't work with my IDE but try this: [CODE] printf("your quote was : %s",toupper(line)); [/CODE]

Member Avatar for WaltP
0
190
Member Avatar for vani krishnan

Well if it should not be done with a single printf statement, then it should be done using pointers. Supposing you have a "str" variable of type [I]char*[/I] to hold your string here is what you should do: [CODE] str += 3; printf("%s\n",str); [/CODE]

Member Avatar for vani krishnan
0
143
Member Avatar for Nekawa

Could you please post a copy of the assignment here, so that we can understand what the exact challenge is?

Member Avatar for Nekawa
0
2K
Member Avatar for begueradj
Member Avatar for Tokenfreak

Tokens and an appropriate grammar is the best approach for a calculator programm.

Member Avatar for mikrosfoititis
0
2K
Member Avatar for lmytilin

Look at this part of the code: [CODE] tmp[COLOR="Red"][b]2[/b][/COLOR]=chars[i]; chars[i]=chars[j]; chars[j]=tmp[COLOR="red"][b]1[/b][/COLOR]; [/CODE] You want to use tmp2 instead of tmp1 when assigning a value at chars[j]. EDIT: Oh, I see you found it yourself :P sorry for my late response!

Member Avatar for mikrosfoititis
0
192
Member Avatar for learner guy

Actually for some of you, you can subtract an integer from a character, as characters and integers are just zeros and ones in the computer. So basically a character can be interpreted as an integer with value equal to its ascii code. Now, learner guy, ifyou don't want to use …

Member Avatar for learner guy
0
202
Member Avatar for itzcarol

[QUOTE=itzcarol;1703650]Thank you. I need this program to be in c++ .... I was wondering if people know my errors, because I don't know my errors.. The outcome of my codes is junk numbers.[/QUOTE] [LIST=1] [*]Of course you don't know your errors. In fact you don't seem to have understood a …

Member Avatar for jmichae3
0
2K
Member Avatar for lmytilin

As Schoil-R-LEA mentioned above correctly, you need an input file stream to read from a file. ofstream is used for output. Also note that your second while loop will never print anything if your file contains less than 10 lines. The structure of the programm should rather be modified. Y.G. …

Member Avatar for WaltP
0
593
Member Avatar for rhn94

Try putting two equal signs at your if conditionals: [code]if (binarySearchResult == iERRORNOTFOUND || binarySearchResult == iERROREMPTY)[/code]

Member Avatar for rhn94
0
258
Member Avatar for mikrosfoititis

Hi everyone, I seem to be experiencing some problem with the linking of header files. I'm sort of creating Date structures and I have the following files: [list] [*][b]Date.h[/b]: Class Date declaration [*][b]Date.cpp[/b]: Class Date functions definitions and auxiliary functions [*][b]DateFormat.h: Class DateFormat declaration (used to format Date objects) [*][b]DateFormat.cpp: …

Member Avatar for mikrosfoititis
0
291
Member Avatar for pendo826

[COLOR="Green"][b]weapon.name[/b][/COLOR] doesn't exist. This is weapon.[b]N[/b]ame you're trying to access here (capital 'N').

Member Avatar for pendo826
0
130
Member Avatar for Rubinder singh

It is not behaving unexpectedly. When the "inorder(r->left)" is called for the last time with a NULL pointer, it indeed just returns without having executed the loop. Then, the programm just continues to the next statement, which in your case is the printf function.

Member Avatar for mikrosfoititis
1
169
Member Avatar for vlaskiz

I think you can't initialise Cmax within the class: [code]static const int CMax = 100;[/code] Try this: [list] [*]In your Rinkinys.h file do the following alterations [code] static const int CMax; Preke R[]; [/code] [*] Now add to the top of your Rinkinys.cpp file: [code] const int Riknikys::Cmax = 100; …

Member Avatar for mikrosfoititis
0
275
Member Avatar for naifa55
Member Avatar for naifa55
-1
95
Member Avatar for pendo826

lol! These all probably come from "Wiz.h" file that's included in the code

Member Avatar for mikrosfoititis
0
133
Member Avatar for hollowprimus

Hey, does this website looks like dani's-aids-to-retards-and-flubby-brained-brats-whose-highest-goal-is-way-long-overcome-by-the-friendly-neighbour's-little-dog to you?

Member Avatar for mikrosfoititis
0
371
Member Avatar for james6754

Well, in your second file (if the code is really ordered like this), you have declared your SquareClass at the end of the file, after the main function, which causes the "undeclared identifiers" errors. The compiler reads the file from the top to the bottom, so don't expect it to …

Member Avatar for mikrosfoititis
0
234
Member Avatar for zck17

Although your code needs a lot of improvement a simple way to work around this is to end the cNewArray string with the escaped zero character: [code] ... ... ... int endPos = 0; for ( int i = 0; i < 10; i++ ) { int j = PosSwitch …

Member Avatar for mikrosfoititis
0
183
Member Avatar for zck17

Instead of using goto, wrap the whole part you want to loop within a [b] do {...} while [/b] statement.

Member Avatar for frogboy77
0
227
Member Avatar for hemj

[QUOTE=hemj;1700001]Can someone please tell me why I am getting an error message saying 'temps' is uninitialised??? [CODE]#include <iostream> #include <string> #include <fstream> #include <sstream> #include <cmath> #include <iomanip> #include <cmath> #include <cstdlib> using namespace std; struct record { string websiteUrl; double revenue; int hits; }; struct totals { double totalRevenue; …

Member Avatar for mikrosfoititis
0
128

The End.