132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kyumi419

hhmm.. i need to get the pattern of this particular output on one digit odd number.. could anyone please teach me? ^^ if the number is 9: then the pattern is: *000*000* 0*00*00*0 00*0*0*00 000***000 yeah, the three asterisks get nearer as the line gets down... how can i formulate …

Software Development c
Member Avatar for kyumi419
0
108
Member Avatar for kyumi419

hello~ Write a program that will display a pattern depending on n. Assume n as a one digit odd number. Example: if n=9, display *000*000* 0*00*00*0 00*0*0*00 000***000 how will i start doing this type of problem? ^^

Software Development c
Member Avatar for kyumi419
0
205
Member Avatar for crash override

I've been trying to get started with sockets programming. However, when I try to use the getaddrinfo and freeaddrinfo functions, my linker complains that they are "not declared in this scope" and that they are "unused variables". I have checked the header (ws2tcpip.h) and the headers appear to be declared …

Software Development c++
Member Avatar for ndarkduck
0
4K
Member Avatar for voidnull
Member Avatar for mostermand
0
349
Member Avatar for papanyquiL

Hi everyone. Basically what I want to do is search for a specific *.exe file upon initialization of my application. The *.exe file that I want to search for happens to be a .NET debugging tool. When / if my application finds this file, I want it to automatically close …

Software Development file-system
Member Avatar for papanyquiL
0
206
Member Avatar for optikali

So below is my first attempt at using user input, but I can't figure out how to get the input (at the bottom) to plug into my function definitions. I have no proper python training and am attempting to learn on my own with some books. I would appreciate any …

Software Development python
Member Avatar for sneekula
0
190
Member Avatar for sneekula

If you own a stopwatch, here is your chance to benchmark the various versions of Python on recursion performance. The Ackermann function gives the old computer quite a workout.

Software Development python
0
234
Member Avatar for ctrl-alt-del

Hi all! As you probably have guessed, I have a problem. And as such I would like to use your collective knowledge so I can continue. I have a form that has a crapload of buttons on it. so, because I was being lazy, I created myself a ButtonGenerator. Here …

Software Development
Member Avatar for sknake
0
156
Member Avatar for tawazzile

i have assigned my two variables correctly, but if i try to login as soon as i enter username and jump to password textbox the username disappers from its textbox and all the credentials are not picked up as soon as i click log in command button.Below is the source …

Software Development visual-basic
Member Avatar for Vineeth K
0
128
Member Avatar for MattyRobot

what is the difference between openGL glut and openGL?

Software Development c++ opengl
Member Avatar for mrnutty
0
134
Member Avatar for pvt_geeker

Hello, JAVA community. I am currently working on developing a system (Hotel Reservation System) as academic work. I am using Netbean IDE 6.7 and MySQL or MS SQL as development tools. I am quite amateur with the use of Netbean, I also find that manual coding is very tedious. So, …

Software Development ide java
Member Avatar for Ezzaral
0
91
Member Avatar for leadenwinter

I'm a total newbie and.. with the code above.. What I want to do is have 10 dValue numbers, but if, of those 10 I only enter 5 values, the exe shouldnt ask me to enter all 10 and just add the 5 values I entered when I press the …

Software Development c++ mathematics
Member Avatar for MattyRobot
0
222
Member Avatar for sftwr21

I'm a noob when it comes to C programming. I wrote a simple program that runs an infinite for loop. But inside that loop I wanted to create another loop to stop the user three times after entering incorrect passwords. I tested from different angles it seems like the infinite …

Software Development c programming-construct
Member Avatar for sftwr21
0
214
Member Avatar for jrosh

I want to transfer data from mysql database to an msexcel sheet... Is it possible with java. how?

Software Development java mysql
Member Avatar for jrosh
0
121
Member Avatar for edwar

have this code and when i run it, i get the output on the screen, what i would like to do is that i can see the output on the screen and send it to an xls of cvs file. is there anyone who could chage the code and let …

Software Development c file-system linked-list
Member Avatar for edwar
0
138
Member Avatar for metalclunch

Well. I've been developing a small game. This is what I have done: I've created a Engine project, which has these files in it: Geometry.h Engine.h Engine.cpp Now, I've created another project, called Test, and it has only one file in it: Main.cpp. I've included the Engine.h by modifying the …

Software Development c++ visual-studio
Member Avatar for metalclunch
0
122
Member Avatar for skirmish

I'm having some real problem with a list of objects. My objects in this case are called Aircraft & I've given them these features: [CODE] int flightNo; void setFlightNo(int i) { flightNo = i; } int getFlightNo() { return flightNo; } [/CODE] Ok, all good - until I put them …

Software Development c++
Member Avatar for skirmish
0
128
Member Avatar for leegeorg07

HI, I recently looked at sneekula's ticker code, and I was wondering about any good graph extras, to show it in a simpler form, also any tutorials if at all possible, thanks in advance

Software Development python
Member Avatar for leegeorg07
0
91
Member Avatar for rajaseeth

Hi, I have the following string and i will pass the filename and then i want to get the corresponding path... [CODE]string url = @" --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3 Content-Type: text/plain; charset=utf-8; name=footer.txt Content-Disposition: attachment; filename=\""footer.txt\"" Content-Transfer-Encoding: base64 G:\test\Attach\test\footer.txt --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3-- "; Regex r = new Regex(@"[a-z]:\\([a-z1-9\.\s]+\\)+[a-z1-9\.\s]+\.\w",RegexOptions.IgnoreCase); string regString = r.Match(url).ToString();[/CODE] I am able …

Software Development regex
Member Avatar for kvprajapati
0
104
Member Avatar for ashok90

How can we [B]give[/B] [B]permissions[/B] or [B]revoke permissions [/B]on applications(i.e installed softwares) for a user via [B]c#.net[/B]. i have get the all uers list on the computer and also [B]installed programs[/B] list but how can i [B]change a user permissions [/B]in a way that he may [B]not able to use …

Software Development c#
Member Avatar for kvprajapati
0
150
Member Avatar for Umarmai

Please faithfuls, I ve been vein problems with the properties of the combo box. wat i really want is disallow users to type into my combobox ( I want them to be limited to the items in the combo) 10qs.

Software Development vb.net
Member Avatar for samir_ibrahim
0
124
Member Avatar for ravi_72

Hello all We are using subversion as our source repository and trying to backup the repo using Subversion hotbackup.py script I am very much new to python scripting and trying to understand the below error message IOError: [Errno 13] Permission denied Exception IOError: (13, 'Permission denied') in <bound method ZipFile.__del__ …

Software Development python
Member Avatar for Stefano Mtangoo
0
108
Member Avatar for AjithAnnadurai

Hi friends anyone knows how to convert SIS to JAR file format . please tell me the link for that software . please reply

Software Development java
Member Avatar for David Boon
0
548
Member Avatar for sachin.h

Hello eyeryone, I am wrking on a project which deals with building avionic GUI like metres,gauges etc.. i was not able to create the exact look and feel using the java swing standard libraries, please tell me any other alternative for creating such GUIs like[B] activex[/B] and wheather i can …

Software Development gui java java-swing
Member Avatar for David Boon
0
160
Member Avatar for chunalt787

I am writing a database API in C++ and I cant seem to think of a good way to handle the errors. For example if certain error conditions are met I would like to set some sort of error flag and allow every class to check that flag. I have …

Software Development api c++
Member Avatar for David Boon
0
214
Member Avatar for faithingod1970

I am trying to create an inventory GUI display for scool. I have this GUI class as part of a 4 class program. For some reason I thought that the last lines created buttons yet this program lacks them. I also hav problems having my main call the GUI to …

Software Development gui java java-swing user-interface
Member Avatar for JamesCherrill
0
101
Member Avatar for iwaqasi

Hi, I am working on a Project that has to search some specific folders and inside those folders I want to check if any file resides. I used the following techniques but they are not working if I need to connect to the machine as USER: [CODE] If Directory.Exists("\\" & …

Software Development vb.net
Member Avatar for samir_ibrahim
0
132
Member Avatar for sawant_nitesh

There are many[COLOR="red"] [I]Java Decompilers[/I][/COLOR] which can decomile [COLOR="Red"][B][I].class[/I][/B][/COLOR] file to [COLOR="red"][B][I].java[/I][/B][/COLOR] file revealing the source. Is there any way to prevent this reverse engineering ? Like in .Net framework, once .dll or .exe is built, noone can reach to source code. ?:S

Software Development engineering java
Member Avatar for verruckt24
0
122
Member Avatar for yonghc

I am inclined to suspect that Borland C++ compiler 5.02 is seemingly full of bugs. Even though my C++ codes could be bug free, it reported External errors on compiling and failed to create an EXE file to run. Thanks to Mr. Salem, I have successfully compiled the above codes …

Software Development c++
Member Avatar for yonghc
0
414
Member Avatar for javanub123
Member Avatar for javanub123
0
87
Member Avatar for javanub123

i started learnin Java last weekend and its my first programming language ever. ive learned most of the basic stuff (if/else, loops, etc.) and was just wondering what to do next?

Software Development java
Member Avatar for Ezzaral
0
51
Member Avatar for icu222much

I am trying to create a program where it will read in the student name, nationality, and grades, and calculate their tuition fee based on those information. I began to write a bit of code by I have ran into some problems. When I try to run my code, the …

Software Development c++
Member Avatar for icu222much
0
74
Member Avatar for AirGear

i usually use Visual Studio 6 or sometimes Dev Cpp.. but, they can't show me the runtime and the memory spent.. i need that information, to make sure that my program is qualified.. can someone help me about cpp compiler that can do that? thx.

Software Development c++ visual-studio
Member Avatar for AirGear
0
134
Member Avatar for MrNoob

I m trying to find idea to change like from 1 to one and 2 to two and 3 three from 1 to 999 i m had an idea to do like a string with information etc ? but i want better idea so i dunno how to do it …

Software Development c
Member Avatar for Anjoe18_Edica
0
225
Member Avatar for CD-4+

hello every one.. i m a newbie and was going through structures.the code is as followes: [code]#include<string> using namespace std; #define n_emp 3 struct workerdb { string name; short age; int salary; }employee[n_emp]; void printdb (workerdb); int main() { int n; for (n=0;n<n_emp;n++) { cout<<"name: "<<endl; getline(cin,employee[n].name); cout<<endl; cout<<"age: "<<endl; …

Software Development c++
Member Avatar for mrnutty
0
157
Member Avatar for sjcomp

Hello, I would like to find out if there is a c++ library that supports fuzzy string search. If I have a list of words such as: hello, there, cool. But I search for 'Helo' I would get Hello. I assume this is a solved problem for spell checkers. Anyone …

Software Development c++
Member Avatar for mrnutty
0
111
Member Avatar for sp00ks

Hello everyone, My problem is that I am creating different objects, and I want them to add themselves to either a List or an ArrayList (difference?) without having to write [I]insects.Add(spider); [/I]after each new object I create. How can I add this in the constructor of the insect class? right …

Software Development
Member Avatar for DdoubleD
0
160
Member Avatar for arelius

Hello all, I am taking a course in C++ and in Ada. Our professor has given us the choice to be tested in language profficiency in either C++ or Ada. The test format will be of simpler programming problems and more geared towards shortanswer concepts. I was wondering if anyone …

Software Development c c# c++ first-post
Member Avatar for dgr231
0
240
Member Avatar for Krstevski

Hello guys, I have some problems with my project and I want to ask you for some advice. Firstly thank you in advance. 1. How can I create an application with multiple languages ? - My solution was to read from the file, but it was not proved very effective …

Software Development
Member Avatar for Krstevski
0
142
Member Avatar for Kombat

p1a.c: In function `main': p1a.c:20: parse error before `char' p1a.c:46: parse error before `char' p1a.c:47: `result' undeclared (first use in this function) p1a.c:47: (Each undeclared identifier is reported only once p1a.c:47: for each function it appears in.) p1a.c:47: `basechars' undeclared (first use in this function)

Software Development c c# c++
Member Avatar for Kombat
0
148
Member Avatar for sciwizeh

Hello everyone, Someone I know asked me about a problem he has with a program he is writing. I know nothing about his code, but he is writing a keyboard program, with the midi synthesizer in the sound api. what I do know is that he is using note on …

Software Development api java
Member Avatar for sciwizeh
0
170
Member Avatar for daviddoria

When debugging my code, I put a break point at this line: [code] std::set<unsigned int>::iterator it; [/code] When I step over that line, I get "Debugger reported the following error: cannot access memory at address 0x10". I am using KDevelop that ships with Fedora 11. I've used that line of …

Software Development c++
Member Avatar for Nick Evan
0
3K
Member Avatar for BullzEyezz

I'm making a project that gets folder and file names in a specific path and I want to edit the folder or file names? (e.g: folder name is X.Men.DVDrip I want to change it to X Men DVDrip) I have the path of the folder, but I dont know how …

Software Development c#
Member Avatar for BullzEyezz
0
221
Member Avatar for dpreznik

Dear friends, I need a help with a Wait (Hour Glass) cursor. In my MFC program, I have the following code: [CODE] void CBookDoc::SomeMethod() { AfxGetApp()->DoWaitCursor(1); // display the hourglass cursor ... // Some stuff is done ... AfxGetApp()->DoWaitCursor(-1); // -1->>remove the hourglass cursor }[/CODE] I wonder why the cursor …

Software Development c++
Member Avatar for dpreznik
0
549
Member Avatar for PoisonedHeart

Hi guys, how can I attach or link a file (an "HTML document") - a saved Web page... that when I click a command button, the "HTML document" will be executed, just like double-clicking it in the explorer window. Just view the attached image file for better understanding about my …

Software Development visual-basic
Member Avatar for AndreRet
0
995
Member Avatar for facadie

HI ME AGAIN=| I'm basically new to connecting to database. MY PROBLEM is that i do not know how to connected to database[ microsoft access] eg. the password entered, is stored at microsoft access database. how do i connect the window application to database so that when i run the …

Software Development microsoft-access
Member Avatar for Ramy Mahrous
0
162
Member Avatar for AndreRet

A reply on so many data and SQL questions, this attachment has 20 forms with all different connection samples and data related queries. This will put any beginner on the right track to successful coding in vb6. I have put together this sample from numerous others over the past few …

Software Development microsoft-access oracle sql visual-basic
0
859
Member Avatar for yonghc

Two lines in the codes below have been remarked out else compiling would fail: //arrcon[1]=*scon; //count << "arrcon[1] " << arrcon[1]; The intention was to assign character values to an array with 5 elements, each with a maximum 35 characters, declared as a string array, arrcon[5],[35]; I was trying to …

Software Development c++
Member Avatar for yonghc
0
411
Member Avatar for snta

i have 1 msflexgrid. in column two, i want to set the data for integer value and 1 decimal places.how to set this column? anybody can help me... i'm using visual basic6

Software Development visual-basic
Member Avatar for AndreRet
0
103
Member Avatar for vishal120

Hi friends am actually working on a project in my work. i have one excel file which i have shared and now is become bigger in size as i have formulated the cells and also with the amount of data it has. i want to use vba to place the …

Software Development visual-basic
Member Avatar for AndreRet
0
114

The End.