199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for raul15791

Hi, Does anyone know how to browse through a folder to find all the files contains in it? I know how to use the opendir function but: 1. I'm having problem with looping in which i can use to browse through ALL the folders and ALL the files contained in …

Member Avatar for raul15791
0
156
Member Avatar for cheapterp

Hey Guys, I have just started working on ColdFusion, so I am relatively new to it than most of you may be. I am trying to create 'Sticky Stay-Filled' forms so that when the form is submitted, the details entered on the form show up on the page following the …

0
86
Member Avatar for Lakepoint

Hi, I'm working on a personal project, developing a program that would help me. I just thought it would be nice if I could turn it into a click-and-run executable application rather than the .bat file I've put together. Anyone have any ideas? Thanks, Lakepoint

Member Avatar for dreadrocksean
0
1K
Member Avatar for guest7

Hi, I am trying to generate 2000 random 3 bit binary numbers. I am using the following code to do that but I am getting an error. #include <bitset> #include <stdio.h> #include <cstdlib> #include <strings.h> #include <iostream> #include <vector> #include <time.h> using namespace std; int main() { for(int i=0; i<2000; …

Member Avatar for tesuji
0
205
Member Avatar for beatlea

Hello, I coded binary and Fibonacci search algorithms in Fortran and was trying to determine for what size of array Fibonacci search would become faster than the binary search. Unfortunately, what I get is the binary search being quicker on any given array. Here is my implementation of the Fibonacci …

Member Avatar for Adak
0
142
Member Avatar for sweety0

Hello!! this time i got mad because i didnt even got a single answer from your site regarding shortest path. please tell me how to embed vb.net and C++. [B]can anyone please tel me the code of dll import function??[/B] Vb.net at the front end and coding in C++ at …

Member Avatar for VernonDozier
0
120
Member Avatar for php4ever

I did a search as I had hoped this has been dealt with by someone before me. I'm trying to take a search form on a website and ONLY pass fields or values for fields that are actually selected or used. What I mean is this. The search form has …

Member Avatar for R0bb0b
0
142
Member Avatar for era_chatterbox

I jst wanna knw...how to pass the value of a text box, of a form as the caption of command button of another form? Please do lemme knw... :)

Member Avatar for JLCantara
0
111
Member Avatar for mrcniceguy

i have displayed all members in my site including there photos,which they uploaded. this is the view.php which image will appear for everymember who uploaded photo. <? echo"<img src=retrieve.php?id=$userid width=200 height=150>"; ?> retrieve.php <?php //PHP code (for images.php) if(isset($_GET['id'])){ $id = $_GET['id']; // Connecting to a MySql Database include"config.php"; //selecting …

Member Avatar for mrcniceguy
0
141
Member Avatar for Black Magic

Hey, When i say right i mean is this the best way to do it. The program works fine and I just put it together in about one minute. [CODE=C++]#include <iostream> using namespace std; int main() { srand(time(NULL)); const char* words[] = {"silly", "bafoon", "monkey"}; int i = rand() % …

Member Avatar for Black Magic
0
92
Member Avatar for ninjaneer

I've been floating around the web looking for a way to add a cap to my Cpp program's processor use, and so far I've only come across a few painful looking Cpp-to-assembly tutorials and a bindprocessor function in an IBM API. I was wondering if any of you wizards knew …

Member Avatar for ninjaneer
0
112
Member Avatar for Jennifer84

In a Form Window you have in the upperright corner, Minimize, Maximize and the other red control that you close the Form with. I wonder what this control is named and if it is possible to put code inside this control. Because if I doubleclick on it, I doulbeclick on …

Member Avatar for Jennifer84
0
83
Member Avatar for Jennifer84

This perheps is a strange question but if I have a buttoncontrol on the form I could programatically make this button invisible like below: [code] button1->Visible = false; [/code] What I wonder is if it is possible to make the button Visible = false; by fading the button away so …

Member Avatar for Jennifer84
0
146
Member Avatar for msspitul

Hi guys, It seems that frames were gotten rid of in ASP.NET, so if I want to open a page and have it target a frame like area on my page that is already open, how can I do that? Any suggestions would be great!

Member Avatar for serkan sendur
0
274
Member Avatar for Zolookas

Hi, I am new to C++ and Qt and despite that i am thinking of using threads in my app. Here is an example code which outputs "." and then "QThread: Destroyed while thread is still running" error after pressing button. [CODE=C++] class MyThread : public QThread { public: void …

Member Avatar for Zolookas
0
1K
Member Avatar for emilio

can i drag from label and drop inside form and set the form backcolor as the labels backcolor ?

Member Avatar for emilio
0
104
Member Avatar for dinilkarun

Hi all, I want to append our own images with nodes and their children in a tree control. I am using wxPython and it has wx.ART feature which contains many custom images, but if I want some other images to be appended in a tree, what should I do? Please …

Member Avatar for kabila
0
121
Member Avatar for mhil_joy

guys.. please give me some idea on how to program tic tac toe using user to user.. thank you.. god bless you all...

Member Avatar for Nick Evan
0
103
Member Avatar for fedalcoder

hi, Any one who knows HSBC payment integration please help me.URGENT! THanks fedalcoder

Member Avatar for KimberlyMon
0
153
Member Avatar for maaply

Hi everybody, I have interview on next week. I know some question will come from link list. What kind of question will come in face-to-face interview's?. If some one post that kind of question, that will be very helpful to me. In this interview Question will be in C only. …

Member Avatar for Jishnu
0
65
Member Avatar for SGoel

hi, I have a very weird question and since i cant find the answer to it even after surfing ALOT, i HAD to ask for your help... i have created an OS of my own... everything is complete... the bootstrap loader is done, the kernel (16-bit, monolithic and segmented - …

Member Avatar for SGoel
0
142
Member Avatar for bpacheco1227

I am a C++ beginner and I am stuck. I can't get the random number generators to run properly, specifically the random number generators are all coming up with 1 . The point system is not running properly either, I'm sure it has something to do with my do-while loop. …

Member Avatar for bpacheco1227
0
177
Member Avatar for Clockowl
Member Avatar for bhoot_jb

I have used the Package & Deployment Wizard to put my Visual Basic Program on CD, I then copied over my database 'calculations.mdb' onto the cd also so that the VB program can access the database when installed on another PC. However, the program still searches the same path as …

Member Avatar for selvaganapathy
0
205
Member Avatar for xyzt

hello I need to do something like this: for ex. if the N is 12 then, i will produce strings like "001" "002" "003" "004" ... "012" if the N is 6 then, I will produce strings like "01" "02" ... "06" is it possible to do that with standart …

Member Avatar for Duoas
0
93
Member Avatar for &rea

I am trying to use Elements (a property of matrix) that will save all the elements as an array so I could access the different elements but now I don't know how works this property. I have written that [code] L->Elements(cli::array<int>(1)^get()); [/code] and I get these errors: [code] error C2143: …

Member Avatar for &rea
0
116
Member Avatar for champnim

I have made a singly linked list that holds an integer & a string. The creation of the list works fine but deletion of a node is giving an error. Previously I was not adding a string to my list(only adding int)& at that time the code was working. please …

Member Avatar for LouPascalou
0
141
Member Avatar for regent_royal

Hi friends, I have[B] build swing based application on windows os and I want to run this application in linux.[/B] The .jar file runs perfectly on windows. but not running on linux. gives error as below. pls. help regent@regent:~/main the law$ java -jar thelaw.jar Exception in thread "main" java.lang.NoClassDefFoundError: while …

Member Avatar for regent_royal
0
175
Member Avatar for marcusbarnet

Hi to all! Is there a way to go and read a particular line in a text file? For example, i have a text file like this: 15 nick 25 marcus 18 sarah where each line contains an integer (age) and a string (a name). I'd like to write a …

Member Avatar for marcusbarnet
0
981
Member Avatar for guruOfCool

Hi all, We're implementing a web-based database application for keeping track of employee emergency information. I need a sql query to select a row, but leave out any fields that are empty (but not null). I've got it working so that all fields in a row are selected. The problem …

Member Avatar for stephen84s
0
85
Member Avatar for s_susanta

im Indian a novice and in php. I installed the wamp server2 that has the apacheserver,phpmyadmin and mysql but when I try to connect mysql through PHP code a error message - "Warning : Mysql_connect()[function.mysql.connect]; Access denied for user ' '@'localhost'(using password YES) in c:\wamp\www\school\temp.php on line 10." is comming …

Member Avatar for stephen84s
0
101
Member Avatar for radnik

I made a little program in which i read double values from file and store them in vector of vectors. So i have one vector pairs which is collection of coordinates (numbers from one line in txt file) and vector trajectories which is vector of vectors pairs (collection of all …

Member Avatar for jencas
0
120
Member Avatar for Prathvi

Dear all, I have to create a customized SoftInputPanel for my program. My question is that ==>Is it possible to create our own SIP for Windows Mobile? ==>Pls give some info for the same

Member Avatar for Prathvi
0
93
Member Avatar for Azurea

Hey guys. I'm having an issue with my Dev-C++ IDE where whenever I try to compile my code, I get a " [Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status " error. Even with simple programs with just sending information to [I]cout[/I] I get this error. Something …

Member Avatar for Azurea
0
169
Member Avatar for Aamit

[code] Day: printf("\n1:Mon\t2:Tue\t3:Wed\t4:Thu\n5:Fri\t6:Sat\t7:Sun\nEnter value-> "); scanf("%d",&x); char dd1[5]="MON"; char dd2[5]="TUE"; char dd3[5]="WED"; char dd4[5]="THU"; char dd5[5]="FRI"; char dd6[5]="SAT"; char dd7[5]="SUN"; if(x==1){ strcpy(dd,dd1); } if(x==2){ strcpy(dd,dd2); } if(x==3){ strcpy(dd,dd3); } if(x==4){ strcpy(dd,dd4); } if(x==5){ strcpy(dd,dd5); } if(x==6){ strcpy(dd,dd6); } if(x==7){ strcpy(dd,dd7); } //printf("%s",dd); if(x>7 || x<1) { cout<<"\nPlease Enter Valid Option\n"; …

Member Avatar for mitrmkar
0
146
Member Avatar for a4tech

Hi all, I am a beginner in using PHP. I have wrote a code that will retrieve the checkbox value after checking from database. Basically, it is a simple search where user has to check the value of checkbox in the form.It then will displaying the result after checking the …

Member Avatar for R0bb0b
0
105
Member Avatar for era_chatterbox

hello frnz...How to code for a login form by taking data from Oracle db? M having a table Employee having attribute as emplogin and emppwd...from there i want to check that whether the user has entered the correct data or not... I mean i want to match the entered data …

Member Avatar for era_chatterbox
0
792
Member Avatar for &rea

Hello, I have got a matrix and I want to get his elements so I can work with them in an unsigned int[][] or in a similar way. I have proved to get them with the method Element but it returns an array and I think it don't do what …

0
73
Member Avatar for bmz

as the title suggests.. is it possible? we are planning to make an application that just uses AJAX to make Voice Calls as seen in Meebo.com. They've developed an application that uses flash with voice chat.. Is it possible using Javascript alone?

Member Avatar for bmz
0
106
Member Avatar for &rea

Hello, I want to make a matrix like this: [code] System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts)); [/code] rect works properly but not plgpts plgpts is an array of Points. So I make that: [code] cli::array<System::Drawing::Point>^ plgpts; plgpts=gcnew(cli::array<System::Drawing::Point, 3>); [/code] and I have this errors: Error C3149: 'cli::array<Type,dimension>' : cannot use this type …

Member Avatar for &rea
0
158
Member Avatar for harrence

Hi all, I'm currently working on having 'artist_id' counted once only between two dates although they may have visited several times over that period. The following code works very well for counting the total number of visits. Any suggestions out there? Regards harrence [code] $sql = "SELECT * FROM artists_details …

Member Avatar for harrence
0
92
Member Avatar for padma525

hi i have a simple form with 4 radio buttons in index.php . if the user selects any radio button and click on the submit button then he will downloaded the corresponding .swf file associated with that radio buttons in next page as download.php. what ever the option is selected …

Member Avatar for filippo.toso
0
131
Member Avatar for sawant_nitesh

I am working on a JAVA project which needs to set the System date and time. I want to open Date and Time Properties of Windows through my Project. When I click on JButton, it should open Windows Date and Time Properties. How to do it ? Please Reply.

Member Avatar for sawant_nitesh
0
79
Member Avatar for babygrl83

This is the problem amd im not sure how to do it. This class from what my otherclassmates have been telling is that I should already know how to do the pseudocode. But my teacher does not explain anything but this is what I have came up with. The Barking …

Member Avatar for Abzero
0
496
Member Avatar for tzushky

Hello, Here I go again. I have the simplest of ideas...yet cannot seem to find a solution to implement it: [CODE=Python] from socket import * import time BUFSIZE = 256 IP = 'localhost' PORT = 25000 ADDR =(IP, PORT) tcpCliSock = socket(AF_INET, SOCK_STREAM) tcpCliSock.connect(ADDR) tcpCliSock.send('I want a response from you …

Member Avatar for tzushky
0
150
Member Avatar for WillMcc

Okay, so I'm a bit confused... here are my instructions for making a program: 1. Input each test result (i.e. a 1 or a 2). Display the message " Enter result" on the screen each time the program requests another test result. 2. Count the number of test results of …

Member Avatar for VernonDozier
0
140
Member Avatar for jainendra.shah

hi frends, I have a problem of selecting a specific substring from a string.... such as---- i have a string "sneha". i have to search "eha" in this string .how can i do this? Thanks

Member Avatar for jainendra.shah
0
65
Member Avatar for raul15791

Hi, I'm a beginner for Perl. Just want to ask a few simple question: 1. Which Text Editor tools is the best for Perl? 2. Some recommend JEditor. I installed it but having problem with the Exuberant CTags. After i downloaded it I cant seem to install and apply it. …

Member Avatar for KevinADC
0
204
Member Avatar for fishwater00

Question 1: [code=c] typedef struct { int x, y, z ; float *wave; float *velocity; }Model; void a(Model *domain); void b(Model *domain, int t); int main() {int i; int j=10; Model Domain; Domain=(Model *)malloc(sizeof(Model); for (i=0; i<10; i++) a(domain); return; } [/code] if I block "Domain=(Model *)malloc(sizeof(Model)", the compiler doesnt …

Member Avatar for fishwater00
0
257
Member Avatar for raj_3y2k

Hi, I'm new to Perl, I installed ActivePerl in my machine and it is running properly. But when I'm trying to open a CGI using Tomcat I'm getting HTTP Status 404 error. I also did the following Altered Tomcat's C:\apache-tomcat-6.0.10\conf\web.xml file a) There's a CGIServlet that's commented out; so I …

Member Avatar for katharnakh
0
191

The End.