View previous topic :: View next topic |
Author |
Message |
C++
Joined: 20 Feb 2005 Posts: 49 Location: Sigulda
|
Posted: 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! |
|
Back to top |
|
|
GiGa Indago Uzvarētājs
Joined: 25 Sep 2003 Posts: 887
|
Posted: 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 |
|
|
C++
Joined: 20 Feb 2005 Posts: 49 Location: Sigulda
|
Posted: 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 |
|
Back to top |
|
|
C++
Joined: 20 Feb 2005 Posts: 49 Location: Sigulda
|
Posted: 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 |
|
|
GiGa Indago Uzvarētājs
Joined: 25 Sep 2003 Posts: 887
|
|
Back to top |
|
|
C++
Joined: 20 Feb 2005 Posts: 49 Location: Sigulda
|
Posted: 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 |
|
|
GiGa Indago Uzvarētājs
Joined: 25 Sep 2003 Posts: 887
|
Posted: Sat Mar 05, 2005 6:07 pm Post subject: |
|
Atkariigs no kompilatora. _________________
|
|
Back to top |
|
|
C++
Joined: 20 Feb 2005 Posts: 49 Location: Sigulda
|
Posted: Sat Mar 05, 2005 8:31 pm Post subject: |
|
Dev-C++ ir iespēja? |
|
Back to top |
|
|
GiGa Indago Uzvarētājs
Joined: 25 Sep 2003 Posts: 887
|
Posted: Sat Mar 05, 2005 8:37 pm Post subject: |
|
Project->Project Options->General->Icon->Browse un izveelies, ko gribi _________________
|
|
Back to top |
|
|
progmars Guest
|
Posted: 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)
|
Posted: 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 _________________ No comprendo lo que dice. |
|
Back to top |
|
|
|