For all programmers who are skilled in C-style languages, and beginners who fish for new experience with these!

* * *

Introduction to Programming Using Java, Sixth Edition: Math.hws.edu
C++ tutorial Cplusplus.com and C++ reference Cplusplus.com

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Heartbleed Bug Explained

Heartbleed Bug Explained

News 4 comments

The article explains the concept behind the notorious OpenSSL bug dubbed Heartbleed.

More Progress, and a Delay
Portal 2

More Progress, and a Delay

Backstock 1 comment

We've pushed back the release date, but are still working hard....

Progress Update
Portal 2

Progress Update

Backstock 3 comments

Portal 2: Back-Stock has come a long way, and its going to go much farther.

Modifying weapons (on Ubuntu)
M.A.R.S. - A Ridiculous Shooter

Modifying weapons (on Ubuntu)

M.A.R.S. - A Ridiculous Shooter Client Side Coding 0 comments

Modification of M.A.R.S. weapons - a simple tutorial.

Building your own M.A.R.S. version on Ubuntu
M.A.R.S. - A Ridiculous Shooter

Building your own M.A.R.S. version on Ubuntu

M.A.R.S. - A Ridiculous Shooter Other 0 comments

How to quickly build M.A.R.S. on Ubuntu distribution?

Comments  (0 - 10 of 18)
ReflexF.N.
ReflexF.N.

Programming is both my hobby and obsession, and it will soon be my profession! :D
I am learning Java on my own, at the moment, by the way! :)
I took C during my first university semester; they used it to introduce us to programming.

Reply Good karma Bad karma+1 vote
atsebak
atsebak

i only use C for embedded systems

Reply Good karma Bad karma+2 votes
lalorobot
lalorobot

Also a little login program ;D
#include <stdio.h>
#include <string.h>
#include <windows.h>

int main()
{
system("cls");
HANDLE consoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(consoleHandle, 10);
char username[11] = "programmer";
char usernameUI[11];
char password[8] = "ciscool";
char passwordUI[8];
Start:
printf("Username: ");
scanf("%s", usernameUI);
putchar('\n');
printf("Password: ");
scanf("%s", passwordUI);
putchar('\n');
printf("Checking please wait..........\n");
putchar('\n');
putchar('\n');
putchar('\n');
putchar('\n');
putchar('\n');
putchar('\n');
putchar('\n');
putchar('\n');
if(strcmp (username, usernameUI) == 0)
{
if(strcmp (password, passwordUI) == 0)
{
printf("You have been loged in succsesfully\n");
}
else
{
printf("Password or username are wrong\n");
goto Start;
}
}
else
{
printf("Password or username are wrong\n");
goto Start;
}
SetConsoleTextAttribute(consoleHandle, 7);
return 0;
}

note if you are going to try to compile this on linux or mac remove this:
#include <windows.h>
HANDLE consoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(consoleHandle, 10);
SetConsoleTextAttribute(consoleHandle, 7);

Reply Good karma Bad karma+3 votes
lalorobot
lalorobot

Hello I just joined this group and for all the starters check this page these are the best tutorials I have found: wibit.net

Reply Good karma Bad karma+2 votes
jdot
jdot

hey guys whats up! I like the group - looks really cool. So the groups curly brackets inspired me to post my favorite for loop, who can tell me what its famous output is? (b = 1, a = 0)
for(i = 0; i < range; i++) {
printf("%d\n", b );
b = a + b;
a = b - a;
}

Reply Good karma Bad karma+2 votes
moci
moci

ping

Reply Good karma Bad karma+2 votes
Metalspy
Metalspy

Hey guys, I'm learning C++ (and C#), but one of the main problems I'm running into is the structuring of my programs/games. The 'layout' so to speak. Are there articles or books that can help me out or is it a matter of just coding a lot and learning by making mistakes and rewriting programs?

Reply Good karma Bad karma+2 votes
moci
moci

I'm not sure what you are talking about so I'll just guess.

The problem of splitting up your project into different problems can be a bit tricky, one of the first things you should really learn is OOP (object oriented programming). And no, it's not because u are working with classes that you're doing a good job at OOP.

Another thing you should check out, but only after really understanding the concepts behind OOP, are patterns.

A quick google should give you lots of information on both topics.

Reply Good karma Bad karma+2 votes
Metalspy
Metalspy

Yeah that sounds helpful. I'm getting quite familiar with OOP now, I might check out those (design?) patterns :)

Reply Good karma Bad karma+2 votes
moci
moci

Howdy,

Yes "design patterns" because they help you in designing your code. A great book you could read is this one: Oreilly.com - it's in Java but still a pretty good read.

And this book is one of those that started it all: Amazon.com

Good luck with this, but don't get lost in patterns and try to apply them to everything. Practice makes perfect I guess.

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Established
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Membership
Join group
Group watch
Start tracking
Share
Embed Buttons
Link to Curly Bracket Programming Realm by selecting a button and using the embed code provided more...
Curly Bracket Programming Realm
Statistics
Members
75
Watchers
14 members
Downloads
2
Articles
12