|
This project is VC or 3dMax or MAYA
if isnt VC then
maybe it is some helpful to you (i think a little difficult)
like this of course this isnt perfect anyway
1-you need to poser for personal and you can declare walk in poser
2- import this file to max or maya (of course you need to frames save for example 1 2 3 4,....20)
3- import to maya frame to frame and then assign one maretial to your object
4- you need to declare key frame (for example 3)
5- you need to one motion path
6- i think you need to IK for body (neck,chest,head,...)
whitesky
|
|
|
|
|
WhiteSky wrote: like this of course this isnt perfect anyway
1-you need to poser for personal and you can declare walk in poser
2- import this file to max or maya (of course you need to frames save for example 1 2 3 4,....20)
3- import to maya frame to frame and then assign one maretial to your object
4- you need to declare key frame (for example 3)
5- you need to one motion path
6- i think you need to IK for body (neck,chest,head,...)
Easier said than done!
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
yes but its possible
whitesky
|
|
|
|
|
|
not problem use 3dMax it supports poser and he can usign 3dMax i think its easy than MAYA
whitesky
|
|
|
|
|
I am using VC++ 6 with opengl but am a newbie. I'd really appreciate if you sent me some source code for study.
|
|
|
|
|
if you want learning Opengl I suggest use MSDN examples (CUBE) i think its good and
you can find examples in codeproject but if you want to create your example
i think create this project is easy in graphic programs instead visuall c
whitesky
|
|
|
|
|
How can I use a FlexGrid Control while using DLL's
Thank You
|
|
|
|
|
How to swape two strings without using temporary variable. can u help me in code this plz.
|
|
|
|
|
I am not going to write code for you.
you can use this simple logic and write your own code.
A := A + B; // aa+bb
B := A - B; // aa+bb-bb = aa
A := A - B; // aa+bb-aa = bb
Regards
Anil
-- modified at 2:10 Monday 29th May, 2006
|
|
|
|
|
this logic working for integers only, While Applying to strings its giving many errors.
|
|
|
|
|
Hello
This is a logic. how can it give you error
You must not do a + b for string unless its CString.
"aaaa" + "bbbb" what I mean is "aaaabbbb" not the mathmatic part of it.
Any way I think the logic is correct check your code.I can give you code using the logic , but you have got the code done from WhiteSky using different method.
Regards
Anil
-- modified at 2:52 Monday 29th May, 2006
|
|
|
|
|
Hai Anil i got the correct logic regardin this.Anyway Thank u for ur help.
|
|
|
|
|
Each string consists of characters. The characters are easily represented as integers. Need we say more?
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
i guess homework anyway
i test with these examples and it work
<code>
// str1="Is this true";
// str2="i dont know";
// str1="string 1 > string 2";
// str2="yes";
// str1="Inverse";
// str2="String2>String1";
// str1="1";
// str2="1 2 3";
CString str1,str2;
str1="3 2 1";
str2="1 2 3";
int Index1,Index2;
Index1=str1.GetLength();
Index2=str2.GetLength();
if(Index1<Index2)
for(int i=Index1;str1.GetLength()<Index2;i++)
str1.Insert(str1.GetLength(),' ');
else
for(int i=Index2;str2.GetLength()<Index1;i++)
str2.Insert(str2.GetLength(),' ');
for(int i=0;i<str1.GetLength();i++)
{
str2.Insert(str2.GetLength(),str1.Mid(0,1));
str1.Delete(0,1);
str1.Insert(str1.GetLength(),str2.Mid(0,1));
str2.Delete(0,1);
}
MessageBox(str1);
MessageBox(str2);
</code>
|
|
|
|
|
Thank u , iam going to homework on it.
|
|
|
|
|
This might the simple logic to swap two strings.
#include<iostream>
#include<string>
using namespace std;
void main()
{
char a[20]= " Krishna";
char b[20]= " Q3tech";
int lena,lenb,i;
lena=strlen(a);
lenb=strlen(b);
printf("%s,%s\n", a,b);
strcat(a,b);
strncpy(b,a,lena);
for(i=0;i
|
|
|
|
|
Little change
<code>
{
char a[20]= " Krishna";
char b[20]= " Q3tech";
int lena,lenb;
lena=strlen(a);
lenb=strlen(b);
printf("%s,%s\n", a,b);
strcat(a,b);
strncpy(b,a,lena);
strncpy(a, a + lena, lenb);
a[lenb] = '\0';
printf("%s,%s\n", a,b);
}
</code>
Regards
Anil
|
|
|
|
|
This is fore sure one of the strangest question i've seen.
I mean, when doing this with a string type, the class creates internal temp files for adding
and when using strcat you need to have already allocated enough memory to hold both the strings at once.
Anyway you alsoo need to add
b[lena] = '\0';
in order to make this work.
codito ergo sum
|
|
|
|
|
Yes I too very much agree with you.
No body do this in realworld programming.
This type of question I think are asked in interview to make people confuse.
That is why in my first post I just gave one of the methods not the code.
And thanks for the error
Regards
Anil
|
|
|
|
|
Krishnatv wrote: How to swape two strings without using temporary variable. can u help me in code this plz.
BTW it's much better use a temporary variable for string swapping. Just a thought.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Hi ,
My cousine who is doing final year of mCA asked me about the project writing for MCA course.. Since MFC is OOP and difficult to document I guess.
She wanted in the following format.
Requirement Analysis<br />
<br />
-feasibility<br />
<br />
Technical<br />
<br />
Behavior<br />
<br />
Economical<br />
<br />
-Design<br />
<br />
- First level data flow diagram<br />
<br />
- Second Level data flow diagram<br />
<br />
- Flow chars.<br />
<br />
- ER diagram<br />
<br />
- Database design<br />
<br />
-Normalization<br />
<br />
- Interface design<br />
<br />
- Forms<br />
<br />
- Reports.<br />
<br />
- On line help<br />
<br />
- Testing<br />
<br />
-Test cases<br />
<br />
- Error log<br />
<br />
- System requirements<br />
<br />
- Limitation <br />
<br />
<br />
<br />
- Code.
Out of these flow chart and ER diagram seems to a bit messy in MFC since its not procedural. Also should there be given all the class method descriptions
or what.. or code explanation. this is an educational project.
What do you think. I am not prefessional of MFC but have some idea.
Do you have any links for such documentation of any project or tips.
pathak
-- modified at 9:58 Monday 29th May, 2006
|
|
|
|
|
As the project is on MFC there should be class diagrams for each class.
You need give some time to draw the ER diagrams for the project.
A class diagram includes class name followed by instance members and then the member functions.
You can find the class diagrams in progamming in C++ by Balaguruswamy.
For OO design patterns go through this page.
http://www.eventhelix.com/RealtimeMantra/Object_Oriented/object_design_tips.htm[^]
Regards
|
|
|
|
|
For Object Oriented Diagrams, UML would be the best. I use Visio.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
Means, I have to write block diagram for each class showing class members, methods. then I should draw some ER diagram or UML showing relations between classes. Also I need to describe methods, I need to explain some special code rsponsible for functioning of the program.
pathak
|
|
|
|