Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-2008, 10:09 AM
James_XVI James_XVI is offline
Newbie
 
Join Date: Mar 2008
Location: In the most peacefull country in the world...
Posts: 10
Rep Power: 0
James_XVI is on a distinguished road
Post Hello everyone :)

Hello everyone, my name is James and I come from a group of islands located in the Eastern-North Atlantic Ocean. Since the place is very isolated from the outside world, finding books on programming has been quite hopeless but I did find some...
Only they were outdated and didn't suit my needs...

I'm want to create a bot or AI with a sound profile so it can speak the text it makes... Now I have 3-5 months to acchieve this... So the obvious question is where do I start? What language?

PS: I didn't know where to post this so please tell me where to put it
__________________
"Brothers, what we do in life... echoes in eternity."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-07-2008, 11:52 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,278
Last Blog:
wxWidgets is NOT code ...
Rep Power: 36
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default Re: Hello everyone :)

For now, it's in a good location.

You can make a primitive text to speech program by having a .wav file that is played for each letter in the alphabet. Any language that can play .wav files would then be a candidate language.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-07-2008, 01:08 PM
James_XVI James_XVI is offline
Newbie
 
Join Date: Mar 2008
Location: In the most peacefull country in the world...
Posts: 10
Rep Power: 0
James_XVI is on a distinguished road
Default Re: Hello everyone :)

Quote:
int main() {
set<string> Math, Programming;
assert(Programming<Math);
return 0; }
Your signature is C++ programming isn't it? If so why do you prefer it?
__________________
"Brothers, what we do in life... echoes in eternity."

Last edited by James_XVI; 03-07-2008 at 01:14 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-08-2008, 11:06 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,278
Last Blog:
wxWidgets is NOT code ...
Rep Power: 36
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default Re: Hello everyone :)

It is C++. I prefer C++ because I am a mathematician first, and it allows me to do all the things I want to be able to do mathematically, like overload operators (missing in Java). It's also a rather terse language, which appeals to me. I also like working in both linux and windows, so having a cross-platform language is appealing. Although, I've been appreciating Java programs a lot since I got my EEE PC.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-09-2008, 11:25 PM
James_XVI James_XVI is offline
Newbie
 
Join Date: Mar 2008
Location: In the most peacefull country in the world...
Posts: 10
Rep Power: 0
James_XVI is on a distinguished road
Default C++ it is then :D

Thanks for the info
I've decided to use C++ for the project... Are there any books or otherwise tutorials, that you suggest I should read before trying to create this AI? (Quite obviously I'll have to read/study something, I can't expect to be a C++ expert overnight)

Quote:
#include <iostream>

int main()
{
std::cout << "Hello, world!" << std::endl;
}
Here's a simple piece of code I found on google... And I have some questions...

What is <iostream> ?

Is int = initialize?

What is std?

cout = computer output

Endl = endline?

I suppose I shouldn't ask these questions; since I found the code I probably should be able to find the answers, although I would appreciate the help
__________________
"Brothers, what we do in life... echoes in eternity."

Last edited by James_XVI; 03-09-2008 at 11:40 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 03-10-2008, 01:42 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,635
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: Hello everyone :)

Quote:
Originally Posted by James_XVI
What is <iostream> ?
iostream is the standard C++ library for input/output. It is in this library you're finding std::cout, which you're also using in your code.

Quote:
Originally Posted by James_XVI
Is int = initialize?
No, int means integer. In C++ you always have to specify what type is going to be returned by a function. So in this case, the function shall return an integer. (Note: you cannot change the return-type for the main-function. You can do it for all other functions, but it's specified in the standards that main always shall return an integer!)

Quote:
Originally Posted by James_XVI
What is std?
std is the standard-namespace in C++.

Quote:
Originally Posted by James_XVI
cout = computer output
No, cout means characters out.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-10-2008, 07:09 AM
James_XVI James_XVI is offline
Newbie
 
Join Date: Mar 2008
Location: In the most peacefull country in the world...
Posts: 10
Rep Power: 0
James_XVI is on a distinguished road
Default Re: Hello everyone :)

Thanks alot v0id that helped me very much This community is awesome XD

Now to find a compiler...

PS (Hvor fedt! Mit dansk er nok lidt "outdated" men eh, sjov "signature")
__________________
"Brothers, what we do in life... echoes in eternity."

Last edited by James_XVI; 03-10-2008 at 07:13 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-10-2008, 10:48 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,635
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: Hello everyone :)

I'm just glad I could help.

As for the compiler, I will suggest GCC. If you're working on Windows, you should download MingW which contains both a port of GCC and many other GNU utilities.

(Dit dansk er fint! Hvor er du fra siden du kan dansk? :-))
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-10-2008, 11:26 AM
James_XVI James_XVI is offline
Newbie
 
Join Date: Mar 2008
Location: In the most peacefull country in the world...
Posts: 10
Rep Power: 0
James_XVI is on a distinguished road
Default Re: Hello everyone :)

(Jeg er fra Færøerne, håber du ved hvor det er XD)

I found a book in the public library called "Beginning C++ Programming" by Michael Dawson. Seems good and it comes with a cd full of sample code and a free compiler called "Bloodshed Dev-C++ IDE"

I reckon I'll download MingW but is GCC for Linux then?
__________________
"Brothers, what we do in life... echoes in eternity."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-10-2008, 11:34 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,635
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: Hello everyone :)

(Ah, javel. Jo, jeg ved godt hvor det er ;-))

I don't know the book you're talking about, but a little note to what you're saying; Bloodshed Dev-C++ is not a compiler, but an IDE. An IDE is an environment which help you out with all the more "advanced stuff," like compiling, which can be hard for a beginner. Actually, Dev-C++ uses the compiler GCC, via MingW. If you install Dev-C++ (full version) you'll get both the IDE and the MingW-package.

GCC is not only for Linux, but for lots of platforms.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -5. The time now is 06:26 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads