Forum: C Nov 4th, 2009 |
| Replies: 6 Views: 379 Thank you! I'm going to use strcmp. |
Forum: C Nov 3rd, 2009 |
| Replies: 6 Views: 379 But, is there any proposed solution to what I'm looking for? |
Forum: C Nov 3rd, 2009 |
| Replies: 6 Views: 379 Hello guys,
How can I make a switch case using an array of chars.
Ex:
char input[50];
// my code here
switch ( input ) {
case "abc":
// do something
break; |
Forum: C++ Oct 30th, 2009 |
| Replies: 5 Views: 225 Thank you JasonHippy.
I was thinking about this solution, but I thought there's another way more elegant to solve this problem.
I need to create some file based on the command line args and after... |
Forum: C++ Oct 30th, 2009 |
| Replies: 5 Views: 225 Thank you for your answer.
In my example, MYCONDITION is known. But in my code, MYCONDITION is not. It's known only at the time of execution as an argument in the command line. |
Forum: C++ Oct 30th, 2009 |
| Replies: 5 Views: 225 Hi guys,
Can I enable/disable an #ifdef based on a specific condition?
Let's say that I've a loop
#define MYCONDITION 1
// code here
for (int i=0; i<5; ++i)
{
printf("Hello #%d", i); |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Ok, thank you so much ;-) |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Plz look again to the code:
out.get ( )->Meta ( ).dump ( );
if it was out->Meta ( ).dump ( ); maybe i can understand that it's nested object, but it's out.get ( )->Meta ( ).dump ( ); ??? |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Yeah, but what is the need to put get between the pointer out anf the other object? |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Here's the whole function
int main( Ipp32s argc, vm_char *argv[])
{
Ipp32s i;
vm_char SrcFileName[UMC::MAXIMUM_PATH] = VM_STRING("");
vm_char DstFileName[UMC::MAXIMUM_PATH] =... |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 You said that we can not use -> on integer value. What about void? |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Well, in this code it's possible. I don't know what does it mean exactly? I'm newbie to c++ |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Thanks.
What does it mean to you something like this:
out.get ( )->class ( ).function ( );
I couldn't understand the meaning of this line |
Forum: C++ May 13th, 2009 |
| Replies: 13 Views: 438 Hi guys,
Is there any special method in c++ called get and which doesn't require instantiation?
I'm investigating a c++ code and a found this method ((!h264Decoder.get() || !params.get() ||... |
Forum: C++ May 5th, 2009 |
| Replies: 5 Views: 356 Thanks for your answer.
What I have done is that I included the definition in the a generic header file, opened and closed the text file in the main function and after that used the text file in... |
Forum: C++ May 4th, 2009 |
| Replies: 5 Views: 356 I want to create the text file ONCE, and after that use it for the whole project. Suppose I have 30 c++ source files (with 30 headers files), I want to write into the file from the file1, file2, etc. |
Forum: C++ May 4th, 2009 |
| Replies: 5 Views: 356 I want to create the text file one, and after that use it for the whole project. Suppose I have 30 c++ source files (with 30 headers files), I want to write into the file from the file1, file2, etc. |
Forum: C++ May 4th, 2009 |
| Replies: 5 Views: 356 Hello,
I've a c++ project in linux and I want to create a text file and share it between more than one source file so that I can write into it instead of using only printf.
Can anyone help me... |
Forum: ASP.NET Jan 12th, 2009 |
| Replies: 11 Views: 1,581 Thank you almostbob
Maybe, but i was looking for an instruction that may permit the unselection of a number of groupnames, without using the foreach ALL CONTROLS. |
Forum: ASP.NET Jan 12th, 2009 |
| Replies: 11 Views: 1,581 Thank you Aneesh_Argent.
Your answer confirm that it's impossible to unselect a given group of radiobuttons in a single instruction (like ClearSelection() of the RadioButtonList) !
I'm not... |
Forum: ASP.NET Jan 11th, 2009 |
| Replies: 11 Views: 1,581 There is no button in your code ! Maybe you're talking about the reset radiobutton.
What I'm looking for is the following:
I have 2 groupnames, each one has many radiobuttons. When I select a... |
Forum: ASP.NET Jan 11th, 2009 |
| Replies: 11 Views: 1,581 sorry, can you explain more please? |
Forum: ASP.NET Jan 11th, 2009 |
| Replies: 11 Views: 1,581 Hi,
Is there any possible way to unselect a number of radiobuttons grouped in the same groupname?
Thank you |
Forum: ASP Jan 6th, 2009 |
| Replies: 10 Views: 2,353 This code gives me at the execution only : Blue, Yellow, Grey and Black !!! |
Forum: ASP Jan 6th, 2009 |
| Replies: 10 Views: 2,353 Thanks for your interest.
I have a dropdownlist, let us says that it includes cars:
Toyota
Mazda
Honda
I want to add a title to my drop downlist, so it will be like this; |
Forum: ASP Jan 2nd, 2009 |
| Replies: 10 Views: 2,353 Hi,
Thank you again for your help. I don't know why I should use a piece of code like php? I was waiting for something usable directly with the control dropdownlist (property, event, etc.). I... |
Forum: ASP Dec 30th, 2008 |
| Replies: 10 Views: 2,353 Thank you for your answer. I'm newbie to asp.net and I've not understood very well your code. Please can you tell me where should I put this code?
What I want is to add a title to my dropdownlist.... |
Forum: ASP Dec 29th, 2008 |
| Replies: 10 Views: 2,353 Hi,
I wish to put the title of each dropdownlist. For example, if I've numbers in my dropdownlist (one, two, and three) I'd like my dropdownlist to be like this:
Numbers
------------
One
Two... |
Forum: ASP Dec 25th, 2008 |
| Replies: 0 Views: 837 Hi,
I'm developping a small website using VS2005 and SQLServer Express. This website will be deployed in a local intranet. I don't know how and what should I install on the pc that will contain... |
Forum: C# Jun 18th, 2008 |
| Replies: 3 Views: 6,865 Hi,
The answer is here: http://www.daniweb.com/forums/thread113979.html |
Forum: C# Jun 18th, 2008 |
| Replies: 13 Views: 6,041 Hi,
Thank you all for your answers. I tried what "alc6379" recommended me and it works now.
I'm sorry; I didn't answer you before because I didn't receive any message from DaniWeb. No... |
Forum: C# Mar 17th, 2008 |
| Replies: 13 Views: 6,041 I know how to connect to MS Access database in a local folder, but my problem is that I don't know how to do this if the database is in a shared folder.
I tried to use this connection string in a... |
Forum: C# Mar 14th, 2008 |
| Replies: 13 Views: 6,041 Hi,
Could you tell me please how can I open a connection to an access database located on a shared folder?
Thanks in advance, |
Forum: C# Feb 12th, 2008 |
| Replies: 3 Views: 6,865 Good morning,
Please, can you give me the code to connect to the access database on a shared folder. This code didn't work for me:
OleDbConnection aConnection = new... |