132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for me_ansh

Hi all, I want to find the size of proc file using C....can somebody help!!!!

Software Development c
Member Avatar for MosaicFuneral
0
122
Member Avatar for wrxhokie

I have a C static library that I need to link to a new DLL i'm creating. I'm using Visual Studio 2005, and created a console application that outputs a DLL. But when I try to compile I get unresolved external linker errors: Error 2 error LNK2019: unresolved external symbol …

Software Development c++ hard-drive visual-studio
Member Avatar for wrxhokie
0
325
Member Avatar for freddan007

Hello, I've started learning how to make simple GUI programs in cpp using theforgers tutorial. However I was going to add XP style to my program and I found a page that showed me exacly how to do it for VC++ 6. The problem when I had added the lines …

Software Development c++ file-system gui
Member Avatar for freddan007
0
763
Member Avatar for ahfrey85

Hi, while doing my assignment im somehow stucked somewhere which i didnt know why and i need some help. i have jus started learning abt c++. so im jus using some basic syntax [code] #include<iostream> using namespace std; int main() { int selclass,i,position; char ch; int seats[100]={0}; //array while(true) { …

Software Development c++
Member Avatar for ahfrey85
0
125
Member Avatar for karthik.c

hi guys i've problem in tcp:client/server program when i run it: this program is to print the contents of a file in other m/c connected to LAN im sure that i've given the correct IPAdress,and also path of the file in other m/c but still its not printing the contents …

Software Development c client-server
Member Avatar for Ancient Dragon
0
182
Member Avatar for bluemm87

I'm trying to learn C++ with a book and it has this example program in it, but when i try to compile it, it comes back with error C2065: 'localVarable' : undeclared identifier. What's wrong with it? [code=cplusplus] // allocating and // deleting a pointer #include <iostream> int main() { …

Software Development c++
Member Avatar for bluemm87
0
76
Member Avatar for BobLewiston

Is there a way (perhaps via EventArgs) to signal the app when a user tries to enter out-of-range input into a WinForm control? (Specifically, a number in a NumericUpDown control numericUpDown1 that is larger than numericUpDown1.Maximum?) Yes, I know the control won't allow the input, but I want to display …

Software Development
Member Avatar for dickersonka
0
168
Member Avatar for risa

How can i prevent a dialog closing by Alt+F4 ? I am using PreTranslateMessage(),,,,what is the Virtual key #define for Alt+F4 or is there any other way?,,,,thank you

Software Development c++
Member Avatar for mitrmkar
0
249
Member Avatar for acejones109

I have been using python since the last few months. I am trying to telnet into one router and then telnet into another router from the first router. I know how to use telnetlib to telnet into a router but I have no clue on how I should proceed if …

Software Development python
Member Avatar for leegeorg07
0
114
Member Avatar for charlie81

I think i have everything write except for the Input statements. It is telling me that JOptionPane can't be resolved. Here is what I have so far. public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber; String …

Software Development java
Member Avatar for charlie81
0
193
Member Avatar for clayiam

Hi All, This has been doing my head it and i expect its not as hard as i'm making it out to be. I'm creating a WorkFlow Management app which is made up of Workflows, Task and Subtasks. All i want to do loop through all Tasks in the Workflow. …

Software Development
Member Avatar for miculnegru
0
150
Member Avatar for yuvaraj.tr

Hi friends i am doing the snake game program for Set top Box . I am Facing problem when i get the remote control keys. if i press the up,down,right,left keys when program is running ,program does not response .once game is over then it is taking the values from …

Software Development c
Member Avatar for nucleon
0
102
Member Avatar for crewxp

For some reason, I can't get scanf to work. I did it just like the book said. Try it. I'm supposed to enter (FirstInitial)(LastInitial)Grade Ex: TB100 For Tom Brady got a 100. It reads: FirstInitial: NOTHING LastInitial: T Grade:0 Then it skips to the second student and did this FirstInitial: …

Software Development c++
Member Avatar for siddhant3s
0
296
Member Avatar for 10Pints

Just started using this compiler - with my old VC6 code, but it seems to think a directory is readonly when it isnt? - any ideas? this is at/after the last the line of the file compiler output: c:\data\dev\cms\3.0.0.0\code\word\src\word.cpp(220) : fatal error C1083: Cannot open include file: 'c:\data\dev\cms\3.0.0.0\code\word\src': Permission denied

Software Development c++ cms
Member Avatar for 10Pints
0
253
Member Avatar for nidhijain

i need to type the words i speak in a test box....on the recongnition event it gets fire randomly and pick up words randomly from grammar file..could you please help?

Software Development
Member Avatar for ashsingh
0
90
Member Avatar for millanskie

Is it possible to change the default [B]click once[/B] installation path, I want to change the click once installation path to C:\Program Files\[program name], how can i do it? where could i find the settings for it to be able to change the default path?

Software Development vb.net
Member Avatar for waynespangler
0
155
Member Avatar for serkan sendur

hi guys, i wonder if there is technically any difference between using break or return in order to quit a loop without reaching its condition?

Software Development c++
Member Avatar for Narue
0
1K
Member Avatar for vicky_dev

Hi, I need a control my native application written in C++ that provides a functionality similar to the SplitContainer control of .NET (System.Window.Forms.SplitContainer). I couldn't find any native control that does the job. Can I get such control or do I have to write it myself? Thanks in advance

Software Development c++
Member Avatar for vicky_dev
0
95
Member Avatar for joejoe55

Been working on this little thing for a few months now, having some issues with some structs. This compiled correctly in vs 2003 but doesnt work properly in c++ 2005. (Most of this is others work and open sourced stuff) Any help is appreciated with why I ths doesnt work. …

Software Development c++
Member Avatar for mitrmkar
0
192
Member Avatar for hell_tej

Hi Folks,:) I am a new Programmer in NetBeans. I ma creating a [B]Desktop Application[/B] in NetBeans 6.0. Almost my Whole Application is Completed. now my Customer Request me to get Authorisation Access(Password Window) at the Startup of Application. :S Now The problem is that i can't create a JFrame …

Software Development java
Member Avatar for hell_tej
0
266
Member Avatar for dev_kc

I am not able to create object for word doc,this is the code i wrote,the object sets to nothing,when i run the code If blnChkFirst = False Then Set owordapp = CreateObject("Word.Applicatiion") Else Set owordapp = GetObject(, "Word.Applicatiion") If Err.Number <> 0 Then Set [COLOR="Red"]owordapp[/COLOR] = CreateObject("Word.Applicatiion") owordapp.Visible = True …

Software Development visual-basic
Member Avatar for cguan_77
0
87
Member Avatar for rasingh24

Hi , i have a project in having two classes TreeDisplay(Form.cs) and MytreeNode class in same namespace.:) TreeDisplay class contains all the GUI related stuff like Browse button textbox , label,progress bar and TReeView. I want the user to select a XML file through browse button which will be displayed …

Software Development file-system gui xml
Member Avatar for rasingh24
0
161
Member Avatar for WhizKidd

Hi, Im doing this memory game where im supposed to randomize 18 words from a file, duplicate them and shuffle and then place in a matrix 6 x 6. Ive gotten quite far, but im not sure what the best way is to place the words in the matrix, and …

Software Development python
Member Avatar for WhizKidd
0
1K
Member Avatar for mehdiali

Hi there i want to create a library that people can get(rent) ebooks but beacause of copy rights they JUST can READ. i want to know that is possible to create an app(like pdf reader) which with it user just can read ebooks and don't be able to make copy …

Software Development pdf
Member Avatar for LizR
0
110
Member Avatar for Q8iEnG

Hi guys.. I don't know if this is the right forum for my question, but.. I have a question from 13 questions I solved them all, and I just got stuck on this one "4. Consider the following advances. Decide whether each of them attack the essence or the accidental …

Software Development java
Member Avatar for Q8iEnG
0
170
Member Avatar for billchow24

For example, I have an input text file like a labyrinth I use the array[x][y] to storge each charater in the labyrinth When i start at the top left hand corner, i need to go out to the exit at the bottom right hand. There are two paths as indicated …

Software Development c++
Member Avatar for DemonGal711
0
293
Member Avatar for ronicasingh

Hello guys, Does anyone know how to keep a console window active till the user presses any key on the keyboard to close the console? Everytime I create a program on devcpp, when I run it the console window just doesn't stay there, it disappears within seconds. I knew how …

Software Development c++ gaming
Member Avatar for Freaky_Chris
0
189
Member Avatar for sonicstage

I have this algorithm from my c++ class that i can't get to work, it doesn't compile (mainly because is wrong) and I have no idea on how to fix it. It supposed to be a global function that takes an array of 10 and gives 10 random numbers from …

Software Development algorithm c++
Member Avatar for Freaky_Chris
0
108
Member Avatar for foxypj

I am currently working on a project where i need check whether a date that is inputted is valid. i know how to use this using repetitive if functions. for example; to check the month you do if (month <1 || month >12) Then to check the day which is …

Software Development
Member Avatar for foxypj
0
150
Member Avatar for moshe5

I am supposed to implement an ADT polynomial, using an array for polynomial coefficients- using- degree() - gives the highest degree in the polynomial. coefficient(power)throw(InvalidPowerException) changeCoefficient(newCoefficient, power)throw(InvalidPowerException) overloaded + operator to add 2 polynomials overloaded << operator I cannot use a list class for this project. special cout cases: +1, …

Software Development c++
Member Avatar for ithelp
0
106
Member Avatar for kinsey

Hi, I need some help with a C++ assignment. I'm supposed to write a Hangman program that will: The user should be able to choose between playing against the computer, or against another human. The only difference will be how the word to be guessed is selected: If playing against …

Software Development c++
Member Avatar for vivekc++
0
867
Member Avatar for karthik.c

hi guys ,im new to perl programming and when i programmed tcp client-server coding in perl i encountered some problem saying : Can't locate socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-...) i tried this in linux-centos and version of perl im using is: v5.8.5 my program was like this: tcp-server: [code=perl] …

Software Development client-server perl socket-programming
Member Avatar for karthik.c
0
186
Member Avatar for jascase901

Hello i Just learned about the Exec statement, so i trying to make a flash card program that saves your cards. The way that i wanna keep the cards persistent is to save a dictionary to a text file and then just use the exec statement to call forth the …

Software Development file-system flash python
Member Avatar for jascase901
0
1K
Member Avatar for redZERO

Hi, I just wanted to ask for some help considering images. What I would like to do is take an image and then split it up into blocks of a certain dimension (say, 20x20). Then I would like to put these blocks into a 2D array. I tried searching for …

Software Development image java
Member Avatar for hell_tej
0
169
Member Avatar for KraZy-Yhan

hello everyone can u help me solve my problem... i want to call a class in another class but i dont know how..example. [CODE]public class Example{ public static void main(String[] args){ int x; for(x = 0; x< 10; x++){ System.out.print(x + " "); } System.out.println(); } }[/CODE] and i want …

Software Development java
Member Avatar for hell_tej
0
78
Member Avatar for DemonGal711

I'm writing the class for the N-ary tree and I need to finish it with a destructor. For my tree, all I do is insert, traverse, print, and destruct it basically. The part of the code dealing with it will be something like: [code]while (/*not at end of input*/) { …

Software Development c++
Member Avatar for DemonGal711
0
310
Member Avatar for MJV

I have a solutin with forms that use table adapters to input data into sql tables and that all works fine. My trouble comes when I have another form that uses a sql stored procedure. When I try to connect to the server I get an error that the login …

Software Development dataset open-source sql
Member Avatar for JerryShaw
0
146
Member Avatar for azwraith69

hello,,:) i have problem doing a FOR loop in my linked list,, it doesn't start the loop,, i don't know why... [icode]class node { public: node(int number, node*nxt):number(number),nxt(nxt){} int getNumber(){return number;} void setNumber(int number){this->number=number;} node* getNxt(){return nxt;} void setNxt(node *){this->nxt=nxt;} private: int number; node *nxt; }; bool mergeList(node *&result, node …

Software Development c++ linked-list
Member Avatar for kbshibukumar
0
146
Member Avatar for Elmismo

I try to connect by ODBC 3.51 and I get connection and I can get data from MySQL database and show it in my VB 2008 Express Edition, but when I want to AddNew or Update something it gives me an error property "Item" is "ReadOnly" (about my rs). This …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
150
Member Avatar for redhotspike

Ok, so I am befuddled. Each individual file compile fine, no errors. When I compile all together and create an executable, no errors. But, when I run the program, I am getting an error. I have it narrowed down to a problem with my [icode]void LinkedList::insert(const ElementType &dataValue)[/icode] but I …

Software Development c++ linked-list web-design
Member Avatar for redhotspike
0
184
Member Avatar for youngstorm

Hello all, I have a program running with this command 'jdb prog'. It was compiled with 'javac -g prog.java'. The program when running normally asks for input, 1st it asks for a number then it asks for a second number. When running in jdb it still asks for input so …

Software Development java
Member Avatar for youngstorm
0
886
Member Avatar for Pikachumanson

What I want to do is take my rpg man sprite and understand how I can access each of his eight animations with methods. I've looked at code that does something like this but I'm not quite getting it. Right now, I got my guy to do two seperate animations …

Software Development
Member Avatar for LizR
0
130
Member Avatar for daviddoria

I have tried to make a SumVector function for all types, but if it is called with a vector of unsigned char's, it will do something special. Here is what I tried, but I get a multiple definitions of the function compiler error. [code] template <typename T> void SumVector(vector<T> &V) …

Software Development c++
Member Avatar for nucleon
0
3K
Member Avatar for MK12

I've nearly finished my python project, and plan to maybe distribute it. But I don't want users to have to go to command prompt and type python foo.py. I don't mind having the user install python, but is there a way I can make an exe that just runs the …

Software Development java python
Member Avatar for MK12
0
106
Member Avatar for rasingh24

I have this Xml file that i browse from my HDD into my C# program. Now the nodes of this Xml doc get displayed in a tree view in my winform.All my logic is in the winform right now. There are three methods 1. To load the Xml doc in …

Software Development file-system xml
Member Avatar for dickersonka
0
99
Member Avatar for monkey_king

I'm having troubles linking together different classes that uses the same templated class. I found 2 workarounds, that will make it compile, but it's not really a solution. 1. don't do a staged compiling with linking object code 2. inlining the spezialized member functions. I'm looking for a solution that …

Software Development c++
Member Avatar for StuXYZ
0
848
Member Avatar for navinlearns

[B]What i need to do is with the help of Sockets in java,: If a client requests for desktop view of the Server the Server code should then take screenshots one after the other and send it to the client and the client will display one as soon as the …

Software Development client-server java
Member Avatar for BestJewSinceJC
0
119
Member Avatar for Lilal

Hey all, I'm having problems with a project I'm doing, I've started rewriting a project I'm doing as I ended up using too many arrays instead of classes >.< And running into some silly problems: Everytime I run the program I get this error on compilation [COLOR="red"]java.lang.NoSuchMethodError: main Exception in …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
109
Member Avatar for moshe12007
Member Avatar for Bladtman242

Is there a simple way to run another program, say IE, FF or just a simple .bat file sith c++? ive searched around a bit but all ive found is rocket science and didn't seem to be what im looking for. i dont wish to run it "trough" my program, …

Software Development c++
Member Avatar for Bladtman242
0
1K

The End.