Search found 10 matches
- Wed Apr 07, 2010 12:33 pm
- Forum: Statics
- Topic: Want to design a flange coupling ...
- Replies: 5
- Views: 9551
Re: Want to design a flange coupling ...
We would love to assist you ;) But before that, could you tell me your background a bit. You might know that this subject requires a certain amount of knowledge in advance mathematics in mechanical engineering. So we do answer to questions to suit your knowledge and background. It is quite useless f...
- Wed Oct 07, 2009 4:13 am
- Forum: C/C++ Programming
- Topic: Writing to same location using printf in C/C++
- Replies: 0
- Views: 2164
Writing to same location using printf in C/C++
Code: Select all
printf("\b"); //backspaces on char
printf("\r"); //return to beginning of line
Code: Select all
for (i=0; i<1000; i++){
printf("%d%%", i * 100/1000); // show percentage
for (j=0; j<1000000; j++); // delay
printf("\r");
}
- Thu Oct 01, 2009 2:00 pm
- Forum: Linux
- Topic: How to Create Multi-boot in Linux
- Replies: 0
- Views: 1927
How to Create Multi-boot in Linux
Virtualization, especially with nice virtualizers like VirtualBox and KVM, makes it easy to run multiple guest operating systems and not have to hassle with rebooting, like you do with a multi-boot setup. But I still favour multi-booting for testing new Linux distributions. There are fewer hassles w...
- Thu Sep 03, 2009 4:49 am
- Forum: C/C++ Programming
- Topic: Optimizing Your C/C++ Applications
- Replies: 0
- Views: 2306
Optimizing Your C/C++ Applications
Declare as static functions that are not used outside the file where they are defined Declaring a function as static forces an internal linkage within that file, which can improve the performance of the code. Functions that are not declared as static default to external linkage, which may inhibit c...
- Thu Sep 03, 2009 3:50 am
- Forum: C/C++ Programming
- Topic: Introduction to Embedded C/C++ Programming
- Replies: 0
- Views: 2550
Introduction to Embedded C/C++ Programming
Optimisation and Keywords: near, far [non-standard, use common] These keywords specify how global and static variables are accessed and how functions are called. At the machine code level, we see the compiler being directed to obtain particular balances of code compactness versus the range of effec...
- Sun Aug 09, 2009 4:42 am
- Forum: C/C++ Programming
- Topic: Enable profile tool
- Replies: 1
- Views: 2980
Enable profile tool
Hi,
I need to profile my functions but the Profile menu under Build menu is disabled.
I have compiled my application with profile info.
Could you tell me how to enable it please?
WBR,
Jane
I need to profile my functions but the Profile menu under Build menu is disabled.
I have compiled my application with profile info.
Could you tell me how to enable it please?
WBR,
Jane
- Wed Jul 22, 2009 8:54 pm
- Forum: C/C++ Programming
- Topic: How to print unsigned __int64 using printf
- Replies: 1
- Views: 3815
How to print unsigned __int64 using printf
Hi all,
Is there any way to display __int64 using the printf command?
(I couldn't find any from the MS site)
Jane
Is there any way to display __int64 using the printf command?
(I couldn't find any from the MS site)
Jane
- Sun Jul 19, 2009 9:46 pm
- Forum: C/C++ Programming
- Topic: Delete a file from code
- Replies: 1
- Views: 2788
Delete a file from code
Hi,
Is it possible to delete a file from C++ without using Win API function.
Thanks
Jane
Is it possible to delete a file from C++ without using Win API function.
Thanks
Jane
- Sun Jul 19, 2009 9:44 pm
- Forum: C/C++ Programming
- Topic: Command line argument
- Replies: 1
- Views: 3025
Command line argument
Hi,
how to accept command line arguments in C++ ? (how to accept more than one argument?)
Thanks
Jane
how to accept command line arguments in C++ ? (how to accept more than one argument?)
Thanks
Jane
- Sun Jul 19, 2009 9:29 pm
- Forum: C/C++ Programming
- Topic: C++ inheritance
- Replies: 1
- Views: 2947
C++ inheritance
hi, I have question regarding inheritance in C++. I have two classes as below. class A { public: int a; protected: private: int b; } class B : public A { public: int a; } I need to access 'a' of class A. It seems I have to go back to my concepts ;o) Could someone pls help? Jane