Forum: C# Jul 27th, 2007 |
| Replies: 3 Views: 4,010 sorry...it works now ...for local hosts too...
thank u...
Beulah |
Forum: C# Jul 27th, 2007 |
| Replies: 3 Views: 4,010 that really works....thank u...but i have a problem to find the utilization of the local mac....how to do that?
Beulah |
Forum: C# Jul 26th, 2007 |
| Replies: 3 Views: 4,010 Hi everyone,
Is there any function in C# to find the CPU utilization of a process?
Any help is greatly appreciated....
Thanks n advance
Beulah |
Forum: C# Mar 9th, 2007 |
| Replies: 1 Views: 3,449 The application tries to locate the dll thru machine.config and fails to recognize the app config file i use.
Beulah |
Forum: C# Mar 8th, 2007 |
| Replies: 1 Views: 3,449 Hi everyone,
I was trying to load an assembly during runtime from a remote application server using the web configuration file in C#. I created a dll eg. RemoteLib.dll. Then i developed a windows... |
Forum: C# Sep 5th, 2006 |
| Replies: 3 Views: 3,307 thank u for ur reply. but my code also allots a separte thread from the thread pool. the prob is how to prevent the main thread from terminating b4 the child thread terminates.
Beulah |
Forum: C# Aug 30th, 2006 |
| Replies: 3 Views: 3,307 I have written a program in c# for quick sort using multithreading. but the code has a problem. the array is not sorted properly. i think it is because the parent thread terminates soon before the... |
Forum: C++ Mar 27th, 2006 |
| Replies: 4 Views: 12,966 [QUOTE=Narue]>how can you read a hexadecimal number in c++? is there any option with cin/
The std::hex modifier works with input streams:
#include <iostream>
int main()
{
int x;
... |
Forum: C++ Mar 24th, 2006 |
| Replies: 19 Views: 8,291 [QUOTE=SiliconSpec]Awesome im slowly getting there! Thanks for the help thats wicked. Heres what I have shortened it down to.
it's not counting spaces alone. pls read the question and the... |
Forum: C++ Mar 24th, 2006 |
| Replies: 7 Views: 1,646 ok...that's true...i'll do that...thank u..
class is a way by which you can define a user-defined data type in c++.
private members are visible only inside a class; u cant access from outside.... |
Forum: C++ Mar 24th, 2006 |
| Replies: 7 Views: 1,646 try the following code:
#include <iostream.h>
#include <conio.h>
class real
{
double n[10],s;
int i; |
Forum: C++ Mar 24th, 2006 |
| Replies: 19 Views: 8,291 Pls try this code
#include <iostream.h>
#include <string.h>
void main()
{
char s[100];
int j,ns=0,i; |
Forum: C++ Mar 24th, 2006 |
| Replies: 4 Views: 12,966 hi,
how can you read a hexadecimal number in c++? is there any option with cin/
your help is greatly appreciated.
Beulah |
Forum: C++ Feb 11th, 2006 |
| Replies: 11 Views: 2,661 |
Forum: C++ Feb 9th, 2006 |
| Replies: 11 Views: 2,661 u can use
[code]
for (i=0;s[i]!='\0';i++)
s[i]=toupper(s[i]); |
Forum: C++ Jan 28th, 2006 |
| Replies: 2 Views: 1,186 pls try this code.
#include <iostream.h>
#include <conio.h>
int ext(int[],int,int);
void main()
{
int k,a[10],i,n,p=0;
clrscr(); |
Forum: VB.NET Jan 25th, 2006 |
| Replies: 7 Views: 29,262 if u use a loop definitely u'll get only the last value...but u can write the code in a timer event |
Forum: C++ Jan 25th, 2006 |
| Replies: 4 Views: 2,135 case is similar to if statement ; it is a conditional control statement for checking multiple conditions |
Forum: Visual Basic 4 / 5 / 6 Jan 22nd, 2006 |
| Replies: 5 Views: 2,678 try this code pls
Dim hr%, m%, s%
Private Sub Form_Load()
hr = 0
m = 0
s = 0
End Sub |
Forum: C++ Jan 22nd, 2006 |
| Replies: 11 Views: 4,263 I think this will work fine.
[code]
typedef struct node {
int key;
struct node *leftp;
struct node *rightp;
} *Treep; |
Forum: C++ Jan 22nd, 2006 |
| Replies: 12 Views: 2,398 Is your problem solved or not? |
Forum: C++ Jan 18th, 2006 |
| Replies: 12 Views: 2,398 |
Forum: C++ Jan 18th, 2006 |
| Replies: 12 Views: 2,398 try this one
#include <iostream.h>
#include <conio.h>
<code>
int series(int seed)
{
int count=0;
if (seed==1)
return 1; |
Forum: Visual Basic 4 / 5 / 6 Jan 17th, 2006 |
| Replies: 3 Views: 2,102 can't you put the code that is repeated in a separate function and call it? |
Forum: Visual Basic 4 / 5 / 6 Jan 17th, 2006 |
| Replies: 5 Views: 2,678 or try this in vb.net
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = Convert.ToString(DateTime.Now.Hour) + ":" +... |
Forum: Visual Basic 4 / 5 / 6 Jan 17th, 2006 |
| Replies: 5 Views: 2,678 keep separate timers for seconds, minutes and hours. |
Forum: C++ Jan 17th, 2006 |
| Replies: 12 Views: 2,398 can u pls explain ur prob a little more? coz i cant get u....actually where will the series end?
pls give me some examples for ur series...
eg. if it starts with 1, the series is .........
with... |
Forum: C++ Jan 17th, 2006 |
| Replies: 4 Views: 2,135 try this code
#include <cstdlib>
#include <iostream>
#include <string>
#include <math.h>
#include <conio.h>
using namespace std;
char* hexc(int); |
Forum: C++ Jan 17th, 2006 |
| Replies: 4 Views: 2,135 can u pls explain me the logic for converting from rgb to hex? ie tell me what will be the equivalent of 80% red 40% green and 20% blue and how to get it exactly(the logic or formulat i suppose) then... |
Forum: C++ Jan 17th, 2006 |
| Replies: 12 Views: 2,398 Try changing the declaration of counter variable as a local variable and check. I couldnt work out and see coz u havent included the header files. declare int counter=0 inside the serial function.
... |
Forum: C++ Jan 17th, 2006 |
| Replies: 12 Views: 2,398 Include the header file iostream.h. Coz it is the header file containing cout and cin. |
Forum: C++ Jan 17th, 2006 |
| Replies: 4 Views: 3,308 |
Forum: C++ Jan 17th, 2006 |
| Replies: 4 Views: 3,308 |
Forum: C++ Jan 11th, 2006 |
| Replies: 4 Views: 3,308 Dear programmers,
I have developed a graphics program in C++ to draw various shapes using virtual functions. While using the Turbo C compiler the graphics.h file is included to use the graphics... |
Forum: C++ Jan 7th, 2006 |
| Replies: 5 Views: 2,049 Thank you for ur reply. But i am working as a lecturer and have to teach Turbo C for my students.
Beuls |
Forum: C++ Jan 5th, 2006 |
| Replies: 5 Views: 2,049 Thanks for your reply. The code works well in VC++ whereas it gives the error "Undefined structure class name" in Turbo C++.
Beuls |
Forum: C# Jan 5th, 2006 |
| Replies: 2 Views: 3,000 Delegates are nothing but function pointers. You can read the book C# and .Net Platform by Andrew Troelson. I am giving an example here with necessary comments. It converts a number from decimal to... |
Forum: C Jan 5th, 2006 |
| Replies: 3 Views: 1,349 I can't get you. Can you explain your question? In what language you want to store? Is it storing an integer like 12 as "12"
Beuls |
Forum: C# Jan 5th, 2006 |
| Replies: 7 Views: 2,574 You can follow the book "C# and .Net Platform" by Andrew Troelson. The book is good for learning concepts. But examples are not so good.
Beuls |
Forum: C++ Jan 5th, 2006 |
| Replies: 5 Views: 2,049 Dear all,
I have written a program in c++ to pass arrays of objects(belonging to the same class) to a member function. It works fine in VC++ but gives an error as "Undefined structure class name".... |