Sinisterly
College Project c# - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: College Project c# (/Thread-College-Project-c)

Pages: 1 2


College Project c# - Somebody00 - 01-06-2014

Hi all.

I am gonna be having a project to be made (c#) in next 4 weeks or more , could someone give me some idea...it's abaot some app like cash machine , counter or something like that, but that's just what everybody does for their project soo i'd like to do something new but again not soo complicated. It has to be made of all object-oriented programming parts (wich i will add soon).Or i can "just" make a simple 2d game ,it's my choice(been looking at some examples of simple games and it's hard for me to understand the logic so as meaning of all these sprites and game engines , SDK...). I don't even know where to start. If you got something on your mind feel free to share it with me,that would be a great help. Thank you.


RE: College Project c# - upsurt - 01-08-2014

How about an MSN/ICQ/Skype-Clone? Sending messages, smilies and files.
Should be easily done within 4 weeks and should be differend from the other projects.
Don't forget to include some strong encryption.

Or if you prefer a game; how about a multiplayer bomberman?


RE: College Project c# - Somebody00 - 01-08-2014

(01-08-2014, 11:19 AM)upsurt Wrote: How about an MSN/ICQ/Skype-Clone? Sending messages, smilies and files.
Should be easily done within 4 weeks and should be differend from the other projects.
Don't forget to include some strong encryption.

Or if you prefer a game; how about a multiplayer bomberman?

that social network thing actually sounds pretty awesome , could you help me a bit abaot how to start off with coding , or some tutorials , or just your full idea , thank you.


RE: College Project c# - upsurt - 01-08-2014

Skype, MSN, ICQ and so on are all controled by some big companies and located somewhere close to NSA. You might develope your own client/server infrastructure with some strong encryption. this would give some privacy to you and your friends ... as long as they trust in you Wink

You may use it to chat are share files, without beeing captured by microsft, google ... or somebody else.

You should start writing a simple server and a client to connect.
If done, you can start to implement some more logic.
There should be samples around, I pretty sure you're not the frist one Wink

Any specific question?


RE: College Project c# - Somebody00 - 01-08-2014

never been doing something like that soo i guess i'll google for it and try it out...


RE: College Project c# - upsurt - 01-08-2014

You can start from here:

- http://www.codeproject.com/Tips/607801/SimpleplusChatplusprogramplusinplusC-23
- http://www.codeproject.com/Articles/12893/TCP-IP-Chat-Application-Using-C
- http://csharp.net-informations.com/communications/csharp-chat-server-programming.htm

- http://www.codeproject.com/Articles/461938/Small-File-Transfer-from-Server-to-Client
- http://www.ayobamiadewole.com/Blog/A-Client-Server-File-Sharing-Application

But you shouldn't just copy and paste it.


RE: College Project c# - Somebody00 - 01-08-2014

o my god thank you verry much Biggrin

btw do you know how can i "grab" a HTML code from some page to use it.
Example:
I make an app to download all pictures from my news on facebook soo i need to add a tag in my code to grab all pictures, do you know what i mean ?


RE: College Project c# - upsurt - 01-08-2014

I'm not sure if I understand what you mean...

If you want to get the HTML of the website, you can try this:

Code:
WebClient client = new WebClient(); string content = client.DownloadString("http://www.something.com");

or this, to get a file

Code:
WebClient client = new WebClient(); client.DownloadFile("http://www.something.com/photo.jpg", @"c:\download\photo.jpg");

you could grab the HTML, parse it, loop through the result and download the files


RE: College Project c# - Somebody00 - 01-08-2014

(01-08-2014, 11:20 PM)upsurt Wrote: I'm not sure if I understand what you mean...

If you want to get the HTML of the website, you can try this:

Code:
WebClient client = new WebClient(); string content = client.DownloadString("http://www.something.com");

or this, to get a file

Code:
WebClient client = new WebClient(); client.DownloadFile("http://www.something.com/photo.jpg", @"c:\download\photo.jpg");

you could grab the HTML, parse it, loop through the result and download the files


that's excalty what i meant , i just haven't found the right words to express myself Tongue how is that process called in c# , and how excatly does "@" sign works here in grabbing strings, thanks a lot man


RE: College Project c# - upsurt - 01-08-2014

the @ in front of a string is meant to interpret the string literally.

so you can write @"c:\download\photo.jpg" or "c:\\download\\photo.jpg"