I have done a lot with Java but I am currently trying to learn c. I am trying to make a program to convert a number from decimal to binary.
Here is what I have:
#include <stdio.h>
#define LENGTH 33
int main( int argc, char*argv[ ] )
{
unsigned int number, base, remainder, x, i;
char result[LENGTH];
puts( "Enter a decimal value, a...
I'm trying to print binary tree
void print_tree(Node * root,int level )
{
if (root!=NULL)
{
cout<< root->value << endl;
}
//...
}
How can I indent output in order to indent each value with level '-' chars.
...
Soon I will need to give a presentation on my honours project for the engineering faculty and a large group of engineering and technology students at my university. While all the the people attending will be technical-minded, not all of them will be programmers and most will be from other engineering disciplines.
I have given presentati...
I am a college student going home for a five-week Christmas break. What would be the best thing for me to teach myself before next semester? Options:
Reviewing/cementing things I've already learned. I've taken classes in C, C++, HTML/JavaScript, SQL, and Discrete Math, some going into more detail than others (obviously).
Learn somethin...
Hi,
I've just completed my second OOP class, and both my first and second classes were taught in c#, but for the rest of my programming classes, we will be working in c++. Specifically, we will be using the visual c++ compliler. The problem is, we are required to learn the basics of c++ ourself, with no transition from our professor. So...
Possible Duplicate:
Resources online to learn C++
I'm a nontraditional student returning after a several year gap from school to study as a CS major. I've taken intro programming classes ages ago, and in about a week and a half I'm facing my first semester of classes since then. I'm taking a data structures course, and I just wa...
Hi, Im a level three CSE student. I need to involve in an open source project to get experience about FOSS. Where should I start?, how to find projects (suitable for a beginner)?
Thanks in advance !!
...
Hi,
I'm a programming student in my first C++ class, and for a recent project I did, I was unable to create an array of strings like I could do in C#:
string MONTHS[ARRAY_CAPACITY] = { "Jan", "Feb", "Mar", "April", "May", "June", "July", "Aug", "Sep", "Oct", "Nov", "Dec" };
// this yields many compiler errors in C++
Is it possible to...
I am a Junior CS Major at a Javaschool and I find myself having an easy time and thought there may be some good project or a language to learn or research in this newfound free time. What would you recommend so as to increase my ability to find a good job(somewhere that allows for continuous learning and treats its programmers well)after...
I have to propose a topic for a software engineering project. I really would like this project to help me to get a job in financial/banking domain. I’m interested in three areas: Access Control Mechanisms, Data Security or Investment Banking/Trading. I’m also open to other ideas. I will have about 6 months to complete the project. At th...
Hi guys!
As always you guys help me out tremendously. :)
I've finished reading Tizag's PHP tutorial and I've even written a couple of sites that use what I've learned.
It's just that I feel I won't truly learn PHP and be good at it until I do a real project. I have no idea what type of project to do with PHP (I'm new to webdev).
Can ...
gHi everybody,
I'm a developper and also has the student statut.
I would like to learn SAP ERP (because many companies use it and I think it is the major ERP contributor in Europe).
Is there a SAP ERP student edition?
How do people practise SAP ERP? Trial version?
If there is no way to download it free/trial, do you think that learning...
I am using the report wizard and was successfully created the new report, but when I clicked 'Finish" to generate the report, I am getting "unable to create the report". I selected "PDF Preview" on this report.
...
Next week I have to give a presentation to a group of under privileged college students about the possibilities of a career in software development. These students have no exposure to programming what-so-ever.
I have a good idea of how to tackle the non-technical, general portion of the presentation.
However, notwithstanding my decade o...
I'm a computer science student finishing up my second semester of programming classes. I've enjoyed them quite a bit, and learned a lot, but it seems other students are struggling with the concepts and assignments more than I am. When an assignment is due, the inevitable group email comes out the day or two before with people needing s...
My teacher for Advanced C++ has opened the class up for students to suggest whatever topics we want. What are some good advanced C++ topics to know? We've already covered:
template metaprogramming
the STL (obviously)
introduction to the boost libraries
Please give reasons for suggestions as well.
...
In MySQL are there any restrictions (and/or) practical reasons against using a numbering system similiar to the National Stock Number format as follows 3728-01-234-5678 (this format includes the use of the hyphen between groups of characters within the structure)
Would this require the use of a specific engine like InnoDB
A newbie stu...
Background School Corp. has two databases with a common table, employees. These two databases are located at the company's offices in New York and Atlanta. Client computers connect to the databases to make changes. If employees join at the New York office, the information pertaining to them should be available at the Atlanta office as we...
Background, Student pursuing BSIT degree, employer expectations, entry level. I would like to solicit opinions from this forum as to what your professional expectations are as regards an entry level position in working in the database realm... I see many job opportunities that require a minimum of 2 or more years experience, how does one...
This IS NOT a Homework question! While building my current student database project I realized that I may want to identify comprehensive information about a database design in the future. More-so if I am fortunate enough to get a job in this field and were handed a database project how could I break down certain elements for identifica...