I have yet another question: What IDE should I use if I'm new at C++? It needs to be easy to pick up and learn. I have heard good things about CodeBlocks and Codelite. But alot of people use MSVC++. So, what IDE is right for me, a beginner?
MSVC++ is probably the best IDE actually, but I don't know if you can use gcc qith it (because Microsoft c++ compiler is rather shitty apparently)
[quote=werem00se;26117406]i have yet another question: What ide should i use if i'm new at c++? It needs to be easy to pick up and learn. I have heard good things about codeblocks and codelite. But alot of people use msvc++. So, what ide is right for me, a beginner?[/quote]
MSVC++. caps
Okay, MSVC++(Sorry, I forgot the caps) is now downloading. Thank you Facepunch, you are as helpful as always.
Also, if you're a student you can use Microsoft Dreamspark and get VS2010 for free.
[QUOTE=Werem00se;26117462]Okay, MSVC++(Sorry, I forgot the caps) is now downloading. Thank you Facepunch, you are as helpful as always.[/QUOTE]
Just to clarify, I wasn't telling you that MSVC++ is spelt with caps, it's because FP doesn't let you use post all caps messages. :smile:
[QUOTE=Agent766;26117472]Also, if you're a student you can use Microsoft Dreamspark and get VS2010 for free.[/QUOTE]
Which is a bit overkill, I don't really see why he'd need VS2010 if he's just doing c++. Plugins works with Express versions (after a few tricky things)
[QUOTE=Agent766;26117472]Also, if you're a student you can use Microsoft Dreamspark and get VS2010 for free.[/QUOTE]
I'll try that when I get home, all I have to do is sign up and someone prove that I'm student some how, right?
[QUOTE=Werem00se;26117554]I'll try that when I get home, all I have to do is sign up and someone prove that I'm student some how, right?[/QUOTE]
Yeah. It should just be select your school. If it's not in the list you can use a .edu email. Otherwise email your schools IT department.
[QUOTE=Werem00se;26117554]I'll try that when I get home, all I have to do is sign up and someone prove that I'm student some how, right?[/QUOTE]
You just have to sign in with your Windows Live ID, choose your country & college/university/whatever. It asks me for some Athens account info, as well, but I don't know what mine is...
[QUOTE=BlkDucky;26117600]You just have to sign in with your Windows Live ID, choose your country & college/university/whatever. It asks me for some Athens account info, as well, but I don't know what mine is...[/QUOTE]
How will it know that I am truly a student, and not some liar trying to get free software?
[QUOTE=Werem00se;26117645]How will it know that I am truly a student, and not some liar trying to get free software?[/QUOTE]
The Athens thing, presumably.
Edit: You need to have a username/password that's, I guess, given to you by wherever you're a student at.
[QUOTE=BlkDucky;26117671]The Athens thing, presumably.
Edit: You need to have a username/password that's, I guess, given to you by wherever you're a student at.[/QUOTE]
So, I just need to contact the Tech guy at the school and talk to him about Dreamspark?
[QUOTE=Werem00se;26117685]So, I just need to contact the Tech guy at the school and talk to him about Dreamspark?[/QUOTE]
Yes.
Can someone post a video or a gif or a few screenshots of how a grid deforms when going up and down while looking straight? I'm out of ideas here.
Sorry no video, but you will see more of it and the grid will look to move slowly towards the camera. (Far and side edges come in to the view, near edge goes out.)
[QUOTE=yngndrw;26118361]Sorry no video, but you will see more of it and the grid will look to move slowly towards the camera. (Far and side edges come in to the view, near edge goes out.)[/QUOTE]
No Ms-Paint picture to demonstrate? I am disappointed. :v:
I'm currently working on the map generator saving to a file.
[editline]:D[/editline]
Also I just registered Legitbusinessmen.co.cc
So I was doing my coursework app...
I just wrote 4 classes, an event handler, made my jframe form actually create objects based on the data filled in on the form and overall probably did about 180 lines of code.
I hit run. It worked first time. SUCH A BADASS FEELING.
I rated myself winner because that's how I feel.
[QUOTE=leontodd;26118406]I'm currently working on the map generator saving to a file.
[editline]:D[/editline]
Also I just registered Legitbusinessmen.co.cc[/QUOTE]
I guess you mean just this second registered it because it says it's still available.
[quote][url]www.legitbusinessmen.co.cc[/url]
The domain legitbusinessmen.co.cc is available Continue to registration >>
If you want to build a site at this address, please visit us at [url]www.co.cc[/url][/quote]
Edit: Wait, no, not anymore.
If anyone is in need of a project, you would make a killing if you wrote a decent native cocoa Windows Live Messenger client for Mac OS X and charged £5/$5 for it.
The current selection is very weak, consisting mostly of slow java clients and crappy ports from Linux.
[QUOTE=pebkac;26117246]Oh you...
The grid is actually a texture, isn't it?[/QUOTE]
Yup, tiling a texture is much more efficient than rendering lots of lines.
[QUOTE=CarlBooth;26118717]If anyone is in need of a project, you would make a killing if you wrote a decent native cocoa Windows Live Messenger client for Mac OS X and charged £5/$5 for it.
The current selection is very weak, consisting mostly of slow java clients and crappy ports from Linux.[/QUOTE]
Have you tried Adium? It doesn't do half the flashy stuff, but it's still very good.
Can someone explain this better to me?:
By definition, you can take a homogeneous vector and multiply it by a constant and get the same point. So again in our 2D problem space (3D homogeneous vectors), this vector:
4
5
6
and this vector:
8
10
12
are equivalent.
Mathematically speaking, these vectors are equal. They go in the same direction, have the same <cannot find english word for it here>. The only thing they haven't got in common is their norm. I would gladly explain it more, but I lack the english words for it. But, if you want an explanation in french, ask :v:
vector1 is just being multiplied by a scalar
[csharp]UIDialogueTree dialogue;
if( World.Player.Inventory.Contains( myQuestItem ))
{
dialogue = new UIDialogueTree( QuestGiver, new DialogueBranch
{
Text = "That's my " + myQuestItem.Name + "! You found it!",
Branches = new DialogueBranch[]
{
new DialogueBranch
{
OptionText = "[Give the " + myQuestItem.Name + " to " + QuestGiver.FirstName + "]",
Text = "Thank you, here is all I can offer",
EventHandler = new DialogueEventHandler( Advance )
}
}
} );
}
else if( StageID == 1 )
{
dialogue = new UIDialogueTree( QuestGiver, new DialogueBranch
{
Text = "Please go to this Dungeon and find my " + myQuestItem.Name + "!"
} );
}
else
{
dialogue = new UIDialogueTree( QuestGiver, new DialogueBranch
{
Text = "Did you find it in the Dungeon?",
Branches = new DialogueBranch[]
{
new DialogueBranch
{
OptionText = "Nope",
Text = "Oh, ok. Could you look for it again?"
}
}
} );
}
dialogue.Open();[/csharp]
Dialogue trees. Although there must be a shorter way of defining it, maybe with some sort of custom declarative language and you just feed in a string of it. Although that could be a bit messy.
My calculator did not support 3d graphing so I made a program that tricks it into looking like a 3d graph.
[IMG]http://i56.tinypic.com/nmgs5w.jpg[/IMG]
This is the code for the BASIC program
[code]
Goto ST
Lbl 1
if (T)
Then
0->T
Y-1->U
Else
1->T
Y->U
End
0.08(X^2-U^2)->Z
10/(20.1-U)->F
X*F->LX(C)
Z*F->LY(C)
C+1->C
X+D->X
If X=M
Then
-D->D
X+D->X
-M->M
Y+1->Y
If Y>15
Stop
End
Goto 1
Lbl ST
DelVar LX
DelVar LY
-15->X
0->Y
1->C
1->D
15->M
Goto 1
[/code]
Of course "->" is representative of the symbol for the store key and LX and LY stand for the lists I use in the stat plot that displays the graph.
[editline]17th November 2010[/editline]
[QUOTE=pikzen;26120071]Mathematically speaking, these vectors are equal. They go in the same direction, have the same <cannot find english word for it here>. The only thing they haven't got in common is their norm. I would gladly explain it more, but I lack the english words for it. But, if you want an explanation in french, ask :v:
vector1 is just being multiplied by a scalar[/QUOTE]
I think the word you are looking for is magnitude?
Turns out that OS X *does* support the std::function<type(type)> syntax (FreeBSD is in the same boat as they are stuck at the same GCC as OS X). I just never bothered to look in the tr1 folder. (woops! :v:)
Only downside is that I need to use a functor, rather than a lambda, but still, this is going to make my life a lot easier than before >:D
(I honestly don't know why I ever bothered to not look in the extensions or tr1 directory to see which headers are available. But I'm glad I did now.)
Ugh, now the fun time of updating mono cecil and applying all my changes to it. Freaking don't know why but MainModule.Import imported a .net 4 function when the exe is purely 2.0. Haven't updated it in a month or so, hopefully they fixed it.
[QUOTE=CarlBooth;26118717]If anyone is in need of a project, you would make a killing if you wrote a decent native cocoa Windows Live Messenger client for Mac OS X and charged £5/$5 for it.
The current selection is very weak, consisting mostly of slow java clients and crappy ports from Linux.[/QUOTE]
Trillian maybe?
Sorry, you need to Log In to post a reply to this thread.