dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

Palīdziet ar c++

 
dev.gamez.lv Forum Index -> Iesācējiem
View previous topic :: View next topic  
Author Message
C++



Joined: 20 Feb 2005
Posts: 49
Location: Sigulda

PostPosted: Sat Feb 26, 2005 11:22 am    Post subject: Palīdziet ar c++

Ievadot šādu textu man viņš dziest nost:

// my first program in C++

#include <iostream.h>

int main ()
{
cout << "Hello World!";
return 0;
}


Kas būtu jāieliek vēl lai viņš uz ekrāna uzrakstītu hello world! Evil or Very Mad
Back to top
View user's profile Visit poster's website
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Sat Feb 26, 2005 2:44 pm    Post subject:

Es Tev jau teicu! Vari nosaukt vienu iemeslu, kaapeec vinjam vajadzeetu palikt uz ekraana? Uztaisi kaut vai, lai peec teksta izvades buutu kaut kas jaaievada, piemeeram:

Code:

// my first program in C++

#include <iostream.h>
#include <conio.h>//vajadziigs, lai izmantotu getch
int main ()
{
cout << "Hello World!";
getch();//pagaida, liidz lietotaajs nospiezj pogu
return 0;
}

vai arii:
Code:

// my first program in C++

#include <iostream.h>

int main ()
{
cout << "Hello World!";
int a;
cin >> a;//nolasa integer tipa mainiitgo - veselu skaitli
return 0;
}


_________________
Back to top
View user's profile Send e-mail
C++



Joined: 20 Feb 2005
Posts: 49
Location: Sigulda

PostPosted: Sat Feb 26, 2005 10:47 pm    Post subject:

Paldies un šito postu var slēgt ciet jo tagad atliek to tavu ''programmu'' papildināt un tik zubrīties Very Happy
Back to top
View user's profile Visit poster's website
C++



Joined: 20 Feb 2005
Posts: 49
Location: Sigulda

PostPosted: Sun Feb 27, 2005 3:32 pm    Post subject:

Starp citu kur ir kāds tutoriāis kurā nebūtu komandrindas paraugs bet gan windows logas?
Back to top
View user's profile Visit poster's website
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Sun Feb 27, 2005 3:43 pm    Post subject:

http://www.winprog.org/tutorial/ Esi kaadreiz dzirdeejis par Googli ? Ko tik tur nevar atrast Smile
_________________
Back to top
View user's profile Send e-mail
C++



Joined: 20 Feb 2005
Posts: 49
Location: Sigulda

PostPosted: Sat Mar 05, 2005 6:00 pm    Post subject:

Pabeidzu tādu primitīvu vecuma noteicēja programmu, kā var nomainīt .exe ikoniņu, uz citu bildīti?
Back to top
View user's profile Visit poster's website
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Sat Mar 05, 2005 6:07 pm    Post subject:

Atkariigs no kompilatora.
_________________
Back to top
View user's profile Send e-mail
C++



Joined: 20 Feb 2005
Posts: 49
Location: Sigulda

PostPosted: Sat Mar 05, 2005 8:31 pm    Post subject:

Dev-C++ ir iespēja?
Back to top
View user's profile Visit poster's website
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Sat Mar 05, 2005 8:37 pm    Post subject:

Project->Project Options->General->Icon->Browse un izveelies, ko gribi Wink
_________________
Back to top
View user's profile Send e-mail
progmars
Guest





PostPosted: Mon May 23, 2005 5:43 pm    Post subject:

hi hi, dabuu Resorce Hacker un nomaini ikonas ne vien savaam, bet arii citaam progaam ! bet tas biski ne po teme. sorry.
Back to top
anggelus



Joined: 23 Feb 2005
Posts: 383
Location: Rīga (LV)

PostPosted: Mon May 23, 2005 6:04 pm    Post subject:

Tas būtu galīgi stulbi nokompilēt savu progu un pēc tam tai ar Resource Haker mainīt ikonu Very Happy
_________________
No comprendo lo que dice.
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Iesācējiem All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group