Jump to content

Recommended Posts

Posted (edited)

Hi,

I will start to the department of computer engineering. And i want to do something about my department before starting the school. Now i've almost finished c programming book. What should i do after that?

 

Note: My school will start on 13th September.

Thank you in advance

Edited by martymcfly
Posted
These are my lessons and their definitions:
CEN 101 Algorithms and Programming I
Problem solving. Input
-
Operation
-
Output process. Analysis and design of algorithms. Definiteness,
finiteness, effectiveness of algorithms. Algorithm Language. Contants, variables and expressions.
Ar
ithmetical, relational and logical operators. InputOutput statements. Conditional and iterative
statements. Vector and matrix representations. String manipulations. Subroutines and Functions.

Applications on a structural programming language

 

 

 

CEN 102 Algorithms and Programming II
Structural programming concept. C/C++ Programming Language, Fundamentals, Data types, Statements,
String functions. Array manipulatio
ns. Procedures and Functions. Recursion. Sorting and Searching
algorithms. Basic file applications. Dynamic variables and elementary data structures, Pointer, Stack,
Queue, Linked list.
Posted (edited)
. C/C++ Programming Language,

 

Then learn c++ you will probably be using either visual studio or codeblocks

 

Conditional and iterative statements. --> if statements and for loops

Data types --> int, string, array, multidimensional array etc

String functions---> anything to do with manipulating strings

Sorting and Searching --> sorting arrays or strings for example in alphabetical/numerical order

Basic file applications--> can you read and write to a file

Pointer http://www.cplusplus.com/doc/tutorial/pointers/

Stack http://www.cplusplus.com/reference/stack/stack/

Queue, http://www.cplusplus.com/reference/queue/queue/

Linked list http://www.cplusplus.com/reference/list/list/

 

Also make sure your built exe can run command line arguments. Know the difference between release version and debugged versions. Know where visual studio saves your projects by default. Be able to run your exe without error. Know what a windows environment variable is.

Edited by fiveworlds
Posted (edited)

Ok thank you for your helps, i will learn c++ :)

Should i learn about Analysis and design of algorithms?

Edited by martymcfly
Posted

Anyway here is a simple script to accept 0>3 command line arguments in c++. Which will just output what you type in command prompt ConsoleApplication1.exe dga a b

 

#include "stdafx.h"
#include <iostream>

int main(int argc, char *argv[])
{
using std::cout;
using std::endl;
if (argc > 1) {
std::cout << argv[1] << std::endl;;
}
if (argc > 2) {
std::cout << argv[2] << std::endl;;
}
if (argc > 3) {
std::cout << argv[3] << std::endl;;
}
}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.