Download presentation
Presentation is loading. Please wait.
1
Prog Club Introductory Presentation
An introduction to Programming Club for Y7 batch Migration from Turbo C++ to GNU C Ashish Bhatia
2
Migration from Turbo C++ to GNU C++
Both CBSE and ICSE computer science course teaches Turbo C++ But programmers community all over the world prefers GNU C++
3
Migration from Turbo C++ to GNU C++
Is migration tough? NOT AT ALL
4
Migration from Turbo C++ to GNU C++
Step 1: Writing a Program Use gedit or kwrite (press Alt-F2 on desktop screen of linux computer and type ”kwrite” and press enter)
5
Migration from Turbo C++ to GNU C++
Step 2: compiling a program go to terminal go to dir where file is stored (use ”cd” command which is same as in windows) type ”g++ -o abc.out abc.cpp”
6
Migration from Turbo C++ to GNU C++
Step 3: executing a program go to terminal go to dir where file is stored (use ”cd” command which is same as in windows) type ”./abc.out”
7
Migration from Turbo C++ to GNU C++
Changes in Code Replace - #include <iostream.h> #include <math.h> With - #include <iostream> #include <cmath> using namespace std; * conio.h is not available in gnu c++
8
Migration from Turbo C++ to GNU C++
#include <iostream> using namespace std; int main() { cout << ”Hello world!\n”; } Turbo C++ #include <iostream.h> int main() { cout << ”Hello world!\n”; }
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.