Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~18.0K People Reached
Favorite Tags
Member Avatar for kiwihaha

i have problem only declaring struct variable. i declare a struct in struct.h file and i wan main.c and class.h also using the same variable. But the class.h file say the struct is undeclare.. example: struct.h [CODE]struct car{ int year;};[/CODE] main.c [CODE]#include <cstdlib> #include <iostream> #include "struct.h" #include "class.h" using …

Member Avatar for kiwihaha
0
1K
Member Avatar for kiwihaha

Actually i know the way to change folder background... But my problem is why i must set the folder icon so that it generate the desktop.ini file then only i can change the background.. I try to copy the desktop.ini file and the picture file in the folder which already …

Member Avatar for rupertmckenzie
0
122
Member Avatar for kiwihaha

>main.cpp [CODE] #include <cstdlib> #include <iostream> using namespace std; #include "function.h" int main(int argc, char *argv[]) { struct AXEMAN{ int lvl; int att; int hp;}; struct DEFENDER{ int lvl; int att; int hp;}; struct ARCHER{ int lvl; int att; int hp;}; struct SPEARMAN{ int lvl; int att; int hp;}; struct …

Member Avatar for kiwihaha
0
147
Member Avatar for kiwihaha

My main code variable declaration (just declaration no login statement) [CODE]struct AXEMAN{ int lvl; int att; int hp;}; struct DEFENDER{ int lvl; int att; int hp;}; struct ARCHER{ int lvl; int att; int hp;}; struct SPEARMAN{ int lvl; int att; int hp;}; struct ROUGE{ int lvl; int att; int hp;}; …

Member Avatar for mvmalderen
0
170
Member Avatar for CodeBoy101

How do I change the icon of the exe. in console mode? (as part of the exe itself) :?:

Member Avatar for kiwihaha
0
11K
Member Avatar for afg_91320

hi guys i have a problem that asks me to work with a given structure and to set an array of 35 and initialize the elements. then i take a loop statement that will step through the entire array and display the contents of each element. since the question only …

Member Avatar for Lerner
0
3K
Member Avatar for kiwihaha

erm... anyone know what is this declaration mean? [CODE]#define LCD_DATA GPIO8->DR[0xFF<<2] /* Data bits D0 = P8.0 .. DB7 = P8.7 */ #define LCD_E GPIO9->DR[0x01<<2] /* Enable control */ #define LCD_RW GPIO9->DR[0x02<<2] /* Read/Write control */ #define LCD_RS GPIO9->DR[0x04<<2] /* Data/Instruction control */ #define LCD_CTRL GPIO9->DR[0x07<<2] /* All 3 control …

0
63
Member Avatar for kiwihaha

i wanna put all my variable initialization at a header file.. but after i put in a header file name, "variable.h" i #include "variable.h" in main. but it still cant reconize the variable. what can i do? + extern infront all the variable in header file?

Member Avatar for Ancient Dragon
0
247
Member Avatar for kiwihaha

Sorry for asking the topic that asked before... but im still dont know how to use that.. Below is an example create by me.. I hope that someone can tell me which part have to fix ... This is the header file: [CODE] int check_SkipCard (string input) { int SkipCard=0; …

Member Avatar for arinkverma
0
116
Member Avatar for kiwihaha

i want to make a error check on each input. if i only got 1 input.. then i just use while(input==false) so it will continue ask user to input if he wrong input but if i have many input,then the while loop will complicated.. for example: Enter ur gender Enter …

Member Avatar for dmanw100
0
114
Member Avatar for kiwihaha

This program is a simple bejewel game... i need to enter the matrix pos[alpabet][number]...eg(a1 or b7) so if i error input for example: 11 (cout error) this can work aa (cout error) but this will infinite loop... please help me... besides some one can tell me what can i do …

Member Avatar for Ancient Dragon
0
97
Member Avatar for kiwihaha

if i initialize x=65. it can show A (ascii code 65 is A). but 167 cannot.. why? [CODE]#include <iostream> using namespace std; main() { char x=167; cout<<x<<endl; system("pause"); return EXIT_SUCCESS; }[/CODE]

Member Avatar for Ancient Dragon
0
2K
Member Avatar for kiwihaha

I wrote a simple bubble game... but it look long and complicated... so any idea to short it down? i heard about class.. but i dunno how to use it.. so is my program can use class? or any idea to short it down? #include <iostream> #include <ctime> using namespace …

Member Avatar for kiwihaha
0
95