Q&A Discussions
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 Votes
16 AnswersSearching words
2 Votes
1 Answer Write a C++ program that retrieves all the numbers stored in a data file named LAB1.TXT. As each number is retrieved, it is displayed on the screen. After the end of file is reached, the numbers should be sorted into numerical order and then the result should be displayed
EXAMPLE: Assuming LAB1.TXT has the following numbers: 7 4 12 3 The output would be Original order:7 4 12 3Numerical order:3 4 7 12
0 Votes
2 Answerstextfile loop in c
-1 Vote
2 AnswersI'm not able to create the new path, I put in the variable path and value c: program files/java/jdk1.80_101 which is what this file is named and it still doesn't work on the command prompt, everytime I put in Javac I get Javac is not recognizable as an internal or external command, operable program or botch file. please help
0 Votes
4 AnswersHot today
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