Click here to Skip to main content
15,905,914 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' [modified](Any Ideas Guys) Pin
Chris Losinger30-Mar-10 3:24
professionalChris Losinger30-Mar-10 3:24 
Questionchanges in taskbar Pin
Cvaji28-Mar-10 20:50
Cvaji28-Mar-10 20:50 
GeneralRe: changes in taskbar Pin
Code-o-mat28-Mar-10 22:01
Code-o-mat28-Mar-10 22:01 
GeneralRe: changes in taskbar Pin
Cvaji28-Mar-10 23:35
Cvaji28-Mar-10 23:35 
GeneralRe: changes in taskbar Pin
Code-o-mat28-Mar-10 23:40
Code-o-mat28-Mar-10 23:40 
GeneralRe: changes in taskbar Pin
Cvaji29-Mar-10 0:01
Cvaji29-Mar-10 0:01 
QuestionBeginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
painterdave28-Mar-10 19:54
painterdave28-Mar-10 19:54 
AnswerRe: Beginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
CPallini28-Mar-10 20:51
mveCPallini28-Mar-10 20:51 
GeneralRe: Beginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
painterdave30-Mar-10 19:39
painterdave30-Mar-10 19:39 
GeneralRe: Beginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
CPallini30-Mar-10 20:44
mveCPallini30-Mar-10 20:44 
AnswerRe: Beginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
Richard MacCutchan28-Mar-10 23:18
mveRichard MacCutchan28-Mar-10 23:18 
AnswerRe: Beginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
David Crow29-Mar-10 2:56
David Crow29-Mar-10 2:56 
AnswerRe: Beginners Guide / Visual C++ 2008 Express Edition written by Herb Schildt Pin
Tim Craig29-Mar-10 13:40
Tim Craig29-Mar-10 13:40 
Questionbuffer problems with CFile Pin
Krauze28-Mar-10 19:36
Krauze28-Mar-10 19:36 
AnswerRe: buffer problems with CFile Pin
hanq_3891013028-Mar-10 19:55
hanq_3891013028-Mar-10 19:55 
AnswerRe: buffer problems with CFile Pin
Iain Clarke, Warrior Programmer28-Mar-10 20:26
Iain Clarke, Warrior Programmer28-Mar-10 20:26 
AnswerRe: buffer problems with CFile Pin
Krauze29-Mar-10 3:53
Krauze29-Mar-10 3:53 
QuestionRe: buffer problems with CFile Pin
David Crow29-Mar-10 4:30
David Crow29-Mar-10 4:30 
AnswerRe: buffer problems with CFile Pin
Vaclav_29-Mar-10 5:38
Vaclav_29-Mar-10 5:38 
GeneralRe: buffer problems with CFile Pin
Krauze29-Mar-10 18:20
Krauze29-Mar-10 18:20 
QuestionHow to add command buttons to listbox? Pin
space03528-Mar-10 16:32
space03528-Mar-10 16:32 
AnswerRe: How to add command buttons to listbox? Pin
Adam Roderick J28-Mar-10 17:37
Adam Roderick J28-Mar-10 17:37 
GeneralRe: How to add command buttons to listbox? Pin
space0359-Apr-10 22:37
space0359-Apr-10 22:37 
QuestionPseudo Code for B Spline implementation Pin
Chidori-chan28-Mar-10 15:35
Chidori-chan28-Mar-10 15:35 
Hi all--

I've got a program where you click and add points to make a polygon using a linked list, and now I want it where by pressing a button it will take the points on the polygon and make it a cubic b spline curve. However I have no experience with the b spline curves and am having trouble with were to start. So I was wondering if you would be able to help me with the pseudo code for this, using C so that I can better understand what I'm trying to do. Here is what I have come up with so far (which isn't much unfortunately):

Create a drawCurve function that traverses the linked list in order.

Take the first four points to draw the spline curve, then the next one over each time.

[insert how to do the math here (of which I am confused about)]

Use a state machine to implement. So pressing a button of my choice will change between the drawing polygon state and the draw curve state.


Thank you very much for your help.
AnswerRe: Pseudo Code for B Spline implementation Pin
LunaticFringe28-Mar-10 15:46
LunaticFringe28-Mar-10 15:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.