15,300 Posted Topics

Member Avatar for somashekar
Re: tech

[QUOTE=somashekar;624373]how do v bridge ip add[/QUOTE] Huh? I have no idea what you are asking. You need to ask your question on one of the Tech boards

Member Avatar for Ancient Dragon
0
27
Member Avatar for zebanaqvi

[QUOTE=Radical Edward;624800]> can anyone see the code in which C is written? Open source compilers like gcc come with source code, so yes. :)[/QUOTE] And be prepared to read some very very complex code. Definitely not for beginners. One C function may call several other C functions which are probably …

Member Avatar for Ancient Dragon
0
62
Member Avatar for kux

First call GetSelectedCount() to get the number of selected items, then in a loop call GetNextItem() to get the index value of each selected row. [URL="http://msdn.microsoft.com/en-us/library/7sdaafak(VS.80).aspx"]See example here[/URL].

Member Avatar for Ancient Dragon
0
241
Member Avatar for daviddoria

using the curses library would probably be the most portable way to do it. Check ncurses for *nix and pdcurses for MS-Windows. If you are not concerned about portability and using an MS-Windows compiler then your compiler MIGHT support the functions in conio.h -- mainly _kbhit().

Member Avatar for Ancient Dragon
0
82
Member Avatar for mariaczi_pl

>>Account = Account + 100; If Account is a pointer, then that line is attempting add 100 to the pointer. I doubt that is your intent. We can't tell from your post what exactly you want that line to do.

Member Avatar for Ancient Dragon
0
240
Member Avatar for Traicey

No one can really help you with the little amount of info you posted. Post parts of the file so we can see what it contains.

Member Avatar for Radical Edward
0
126
Member Avatar for UrbanKhoja
Member Avatar for acejames1
0
86
Member Avatar for Frazinray

I had the same problem with Dev-C++ when I first got Vista. Searched Bloodshed's forums and found that the compiler does have a few problems with paths on Vista. Go to Tools --> Compiler Options, click the Directories tab, then manually expand the paths you find there to contain the …

Member Avatar for Ancient Dragon
0
105
Member Avatar for ingeborgdot@yah

[QUOTE=joytech22;621709]i suggest you try to cap you'r price at $500. but since you intend on 300, try out the 7600GS very good card, i used to use one until i got 8800. then i upgraded to 9800GTX. maybe buy the 9800GTX its supa fast and the best bang for your …

Member Avatar for joytech22
0
189
Member Avatar for LightSystem

Not sure just what you are asking Do you want the contents of the array [b]name[/b] to contain some text that the user entered via keyboard ? [code] char name[80] = {0}; printf("Enter your name\n"); fgets(name,sizeof(name), stdin); printf("You entered %s\n", name); [/code]

Member Avatar for Salem
0
77
Member Avatar for vatson

Just search the PATH environment variable for it. In MS-Windows you can do it like this [code] #include <iostream> #include <windows.h> #include <string> #include <cstdio> #include <sstream> using namespace std; bool search(string path) { WIN32_FIND_DATA data; path += "\\gdiplus.dll"; HANDLE hFind = FindFirstFile(path.c_str(), &data); if(hFind != INVALID_HANDLE_VALUE) { FindClose(hFind); return …

Member Avatar for Ancient Dragon
0
95
Member Avatar for cancer10

Resurrecting old threads is not a problem as long as the new posts are relevent in context to the rest of the old thread. IMHO you can post here if you want to continue the interesting topic.

Member Avatar for selfhelpebooks
0
928
Member Avatar for ict_cop

Welcome to DaniWeb >>Yes, I do really sit on the beach with a laptop and GPRS connection uploading code to a web server in some distant land :* :*:* You must have everyone's dream job

Member Avatar for selfhelpebooks
0
88
Member Avatar for john sharath
Member Avatar for selfhelpebooks
0
19
Member Avatar for phil.payne@ukon

Welcome to DaniWeb. You can put the URL to your site in your signature without us deleting it. Also if you want suggestions on improving it you can post the link(s) in [URL="http://www.daniweb.com/forums/forum55.html"]Website Reviews[/URL]

Member Avatar for phil.payne@ukon
0
86
Member Avatar for Flixter

I don't know about the math you described, but the program is wrong [code] {vector<Pair> set; \\input of the set of points, with 50 points Pair* a1 = new Pair(70, 64); set.push_back(*a1); [/code] you don't need all those memory allocations. Its probably causing a huge memory leek and just overcomplicating …

Member Avatar for Flixter
0
130
Member Avatar for ambarisha.kn

what container are you using? vector? Yes, then treat a vector just as you would a simple array of ints. If you can do this this an array of ints then you can do it with a vector -- same syntax.

Member Avatar for vijayan121
0
89
Member Avatar for edek

[URL="http://www.petri.co.il/reg_command_in_windows_xp.htm"]Here[/URL] you go. [URL="http://www.google.com/search?hl=en&q=reg.exe&btnG=Google+Search"]google[/URL] will find other links too

Member Avatar for Keviel
0
5K
Member Avatar for wyw2008

[QUOTE=wyw2008;623651]Thank you very much! I did get some spams these days, but now I don't know how to modify what I have submitted?[/QUOTE] You can't, but I can (and did)

Member Avatar for Ancient Dragon
0
98
Member Avatar for brain1

>>It is unfortunate that boomers and seniors can't earn extra monies for themselves Depending on what country you live in maybe for you, but not for me. In USA there are lots of part time jobs out there that we can do. Won't make a fortune, but will earn enough …

Member Avatar for Ancient Dragon
0
46
Member Avatar for herrepeder

A callback is just a function that you write that will be called by the driver. When initializing the driver function you pass it a pointer to your function. You will have to read the ASIO Auto Driver's programming manual to find out exactly how to code the callback function. …

Member Avatar for Ancient Dragon
0
85
Member Avatar for Aamit

>>how to solve this problem so server gets output individually for client?? Each client needs to use different ports. You can reserve a range of ports in the hosts file on the server computer so that nothing else on the server will take them. Assign port no 8000 to client …

Member Avatar for Ancient Dragon
0
138
Member Avatar for Alex Edwards

>>Why use the stack of the space is so limited? What makes you think stack space is so limited ? In MS-DOS 6.x and earlier and in some embedded systems that is true, but if you are using *nix or MS-Windows 32-bit compilers stack space isn't really anything to be …

Member Avatar for Alex Edwards
0
217
Member Avatar for SakisLam

To my knowledge there is no way to get the filename once the bitmap has been read into memory. Actually, the bitmap may not be in any file at all, but can be part of the program's resources, which is attached to the end of the executable program.

Member Avatar for Ancient Dragon
0
34
Member Avatar for bravefanwill

what have you tried ? Please post your attempt to do this homework assignment. One way to solve the problem is to use the macro [b]tolower()[/b] that's in stdlib.h [icode] ch = tolower(ch);[/icode]

Member Avatar for Ancient Dragon
0
38
Member Avatar for wellibedamned

>>is there a way to limit/set its size to a value No. But if passing it to some other function you can declare it as [b]const[/b] so that is can not be changed. See std::string methods [URL="http://www.cplusplus.com/reference/string/string/"]here[/URL] To get all substrings [code] std::string str = "one two three one two …

Member Avatar for Ancient Dragon
0
97
Member Avatar for marizion

[code] #include <"windows.h"> #include <"iostream"> [/code] Do not use both angle brackets and quotes. One or the other. Use angle brackets for your compiler's header files and quotes for the header files that you create. [code] #include <windows.h> #include <iostream> [/code] After a successful compile you will get errors about …

Member Avatar for marizion
0
130
Member Avatar for kux

Creating a grid control is a very complex task. [URL="http://www.codeproject.com/KB/miscctrl/gridctrl.aspx"]Here is one free control [/URL]that I have used in the past and consists of thousands of line of code.

Member Avatar for Ancient Dragon
0
297
Member Avatar for QuantNeeds

Since [b]displayMessage()[/b] is not a member of Salary class the compiler is looking for a function names [b]getSalary()[/b] that is also not a member of that class. One way to fix this is to make displayMessage a member of the class [icode]Salary::displayMessage() [/icode]

Member Avatar for QuantNeeds
0
157
Member Avatar for mrynit

[QUOTE=jephthah;622984] why dont you just continue to use the make file to rebuild your changes? seems like less work to me. [/QUOTE] Some programmers write libraries for several different compilers and operating systems. I don't know but possibly this is the case here.

Member Avatar for jephthah
0
259
Member Avatar for Alex Edwards

The problem(s) appear to be the use of all those pointers. Get rid of all the pointers and you get rid of the errors. Here's the revised program without pointers. This implementation also deleted the destructors, new and delete operators. [code=c++] #include <cstdlib> #include <iostream> #include <math.h> /** File test_!.cpp …

Member Avatar for Alex Edwards
0
85
Member Avatar for Kadence

You need to close the output file before opening the input file because some of the data has not been flushed to disk yet.

Member Avatar for Ancient Dragon
0
83
Member Avatar for kinger29

Probably depends on the company to which you apply for a job -- I suppose MCSD certs might make a difference between two people with equal education, experience, and knowledge. Otherwise they are not of much value. Why? Because people can pass the exams without ever coding so much as …

Member Avatar for jwenting
0
109
Member Avatar for drichird

>>Why so many places to specifiy include directories Those are not all include directories. Some of them are executables and libraries. >>And secondly, where in the IDE can I found out what the environment variables $(VCInstallDir) etc Write a program that displays the variable. But on my system it isn't …

Member Avatar for Ancient Dragon
0
166
Member Avatar for gdg

[QUOTE=gdg;622448]Because I don't live in the US I have virtually no legal recourse against the company that essentially took me for $3000. [/QUOTE] That seems difficult to believe. Have you contacted legal console in your country?

Member Avatar for Ancient Dragon
0
48
Member Avatar for gang66

The reason it doesn't work for you is because after entering an integer [icode]cin >> width[/icode] the system leaves the '\n' in the keyboard buffer, and the next time cin is called it gets that '\n' instead of wanting for another keyboard input. What you have to do is flush …

Member Avatar for John A
0
112
Member Avatar for gl_nana

[QUOTE=gl_nana;622090]i need some help to make a verifir bytecode ?? can you help me ? plz[/QUOTE] No one can help you in this board. You will have to post your question in the correct DaniWeb support board for your computer language of choice.

Member Avatar for selfhelpebooks
0
23
Member Avatar for zoner7

you have to add a second parameter. [URL="http://www.cplusplus.com/reference/iostream/fstream/open.html"]Read about them here[/URL]. Use the ios::ate and ios::binary flag

Member Avatar for zoner7
0
102
Member Avatar for The Dude

[QUOTE=jwenting;618541]the best time of year for Disney World is just after it burns down. No more fake happiness, and the inevitable lawsuits haven't started yet.[/QUOTE] Its obvious you have never been there. If you do make sure to take lots and lots of money and plan to visit the other …

Member Avatar for maydhyam
0
111
Member Avatar for faust_g

[QUOTE=Radical Edward;622089]> vector <vector<string>> myvec; In the next C++ standard, yes. Right now the way the parsing rules work mean that >> is treated as a binary right shift instead of the closing character for a nested template. It's ugly, but you have to put a space between them for …

Member Avatar for Radical Edward
0
146
Member Avatar for zoner7

[QUOTE=Radical Edward;621546][code] reset(int (&Board)[2][3]) [/code] [/QUOTE] I have never in over 20 years seen anyone code a function prototype like that. Arrays are ALWAYS passed by reference, it is not possible to pass an array by value. So this is all that is needed [icode]void reset(int Board[2][3]);[/icode]

Member Avatar for Ancient Dragon
0
124
Member Avatar for champnim

[QUOTE=champnim;620278]Well let me assure you I have enough command over the English language but its just that my generation is probably more used to converse in the "SMS lingo". If you have a problem understanding my language there is a more gracious way of saying so rather than adopting a …

Member Avatar for champnim
0
177
Member Avatar for ambarisha.kn

>> shall we have to write this header file before executing the program. Yes, or get it from whereever you got that *.cpp file. The file you posted is not part of STL because STL doesn't contain main().

Member Avatar for ambarisha.kn
0
227
Member Avatar for Egypt9
Member Avatar for Ancient Dragon
0
185
Member Avatar for slacke

You have to be very careful about the code you get off the net because a lot of it is written for ancient 16-bit compilers on MS-DOS version 6.X and earlier operating systems. You might as well scrap that second code you found because it won't work on modern 32-bit …

Member Avatar for Ancient Dragon
0
357
Member Avatar for xnimrod

Unless your program creates threads there will be only one thread in your program. The details are operating system dependent.

Member Avatar for Ancient Dragon
0
28
Member Avatar for dangana

>> float x[n]; The error message means that you can not declare an array using a variable like [b]n[/b]. Must have a const integer. If you need to use the variable then allocate the array after the value of [b]n[/b] is known. [code] float* x = 0; <snip> x = …

Member Avatar for jephthah
0
142
Member Avatar for Crushyerbones

you need to create another thread so that user input is in the main thread and other processing is done in the other thread.

Member Avatar for Duoas
0
192
Member Avatar for ADeen02
Member Avatar for zoner7

By [b]stuck[/b] I suppose you mean the program goes into an infinite loop or possibly even crashes. You should fix the problem instead of attempting to hide it.

Member Avatar for Ancient Dragon
0
120

The End.