Discussions Q&R
if i download the programs for c++ on my pc ( codebuilds and the compiler ) and i want to write a program in my package ( workspace ) i create a new file and write smthing beginning
#include <iostream>
using namespace std;
int main ()
{
...
}
and i want to run it, it always runs this first program : Hello World. and not my written program how can i run just my written program ?
have i maybe to write anything else as
int main () {} ?
0 Vote
16 Réponsesguys please suggest me the right way to learn php,how to practice,what be the matetials and more importantly how to start...I have a lot of passion and can give plenty of time but the problem is m just a bigginer with little knowledge on programming though m a IT student and in learning phase...I want to establish career on php what should I do...share your experience,tips and knowledge....thanks in advance... !!!
0 Vote
10 RéponsesSo I'm trying to add a picture to my website atm and I'm new to this so I got this app. The image is a .pgn and even if I say <img src="thename.png" /> it doesn't work on the site. I've updated it from Filezilla obviously but it just shows a little jpg logo and doesn't display my pic. What am I doing wrong?
0 Vote
5 Réponseshi everyone,
I have learn basic java,c++ and eclipse more than 3 times, I know everything about basic, but what is next, is this for just making simple input/output programs?
I want to STEPUP but I Dont have any idea
I want to become a professional Android developer, pls give some suggestions.
q. only for experts
1 Vote
3 Réponseshey I have a doubt in brute force prg by Mr robot .......so it's just checking each character and storing it in a string ....and he is giving it a name..so I have to ask that how I will setup or send a link to someone whom I wanna hack and whatever he types in my prg I will get it...plz plz help me...using Mr robot program
0 Vote
4 Réponses
what have i to do, if i want that the program always writes for example :
0+1
1+2
3+3
6+4
10+5
15+6
...
because now it just writes
1
3
6
10
15
...
and maybe if it works, can i make then
0+1=1
1+2=3
3+3=6
6+4=10
#include <iostream>
using namespace std;
int main(){
int i;
int sum = 0;
for (i = 1; i <= 100; i++){
sum = sum+i;
cout<<sum<<endl;
}
cout<<sum;
return 0;
}
1 Vote
5 Réponsesx = 42;
int num = 0;
while (num <3)
Consele.writeline (x);
num++;
int x = 42; is just an int with an asigned value of 42
int num=0; is what initiate the count for the while loop
while (num < 3); means 0<3 true, 1< 3 true, 2<3 true, the loop end at 2 bc 3 <3 is false
consele.writeline (x) will display 42 while num < 3
num++ will execute and then add 1 to check if the while loop still true, but it stop at 2, bc 3 makes it false.
so the consele.write will write 42 three times. x=42, remember the (x)
0 Vote
2 RéponsesHello Group,Is there any source where I could find multiple problem programming question on a single topic, so that I could get a good hang on those topics. for e.g, lets say I am learning 'if else' then I could have question and solve 30-40 examples on just 'if else'..Kind Regards,Adarsh
0 Vote
1 Réponseso far in section 1 question 2 area all of the videos have been ads that if you skip the add it just brings up the questions you need to answer. also if you play the add all the way thru you get the same exact thing. luckily I'm using this as a refresher course but I would think if I didn't know anything about c++ then I could be pretty lost missing videos.
0 Vote
2 RéponsesAujourd'hui en vedette
Sticky position
2 Votes
Help please?
3 Votes
Online voting system
2 Votes
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes