199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for babalonas
Member Avatar for babalonas
0
121
Member Avatar for sm4ckth3monkey

Hello I am working on a project for my roommate that involves reading in a text file that has x's and o's. The x's mean a wall and the o's mean an open path. The maze begins at 0,0 and ends at 15, 15. This makes the graph 15x15. I …

Member Avatar for VernonDozier
0
1K
Member Avatar for harika.jo
Member Avatar for yawar260

Hi,how to populate dataGridView Columns with data coming from database when Columns already exist in c#,please help me.

Member Avatar for WargRider
0
199
Member Avatar for chloeclover

Hey all, i'm looking for some help/advise on how to tackel a piece of code i'm stumped on. My project is in netbeans, GUI swing, JForm. Ive made up all my gui appearance, i have a jtext box that shows the calculations of 3 other jtext boxes from a user's …

Member Avatar for peter_budo
0
263
Member Avatar for BEBELINDO

Hi i need an event handler method to let an user use the 4 arrow keys (up,down,left,right) from a keyboard input ... and also the letters "Y" for yes and "N" for no on the keyboard. [code]import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; //group Albers, Rodriguez, Gonzalez, Leys, Larson, and Aponte …

Member Avatar for stultuske
0
126
Member Avatar for tom384

Hi there, I'm having trouble with my program, which crashes when accessing values through a pointer. I've created a sample program that demonstrates my problem. Little synopsis: A Character has 2 attributes, a Bone, and a vector of pointers to Bones. I have a parser file that has functions to …

Member Avatar for tom384
0
295
Member Avatar for icewolf

Hi There. I am trying to use libCurl to copy the contents of a webpage into a string in C. This is what I have so far: [CODE]void Cmd_translate_f (char *message) { CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, va("http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=%s!&langpair=en|fr"),message); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data); res = curl_easy_perform(curl); …

Member Avatar for icewolf
0
4K
Member Avatar for heynow12

I cannot figure out what this error message means? [code] #include <iostream> using namespace std; double max_array(const double x[], int max_val); int main (void) { int i, max_val; double x[max_val]; double array_avg, array_max, array_min; cout<<"Enter likely number of values: "; cin>>max_val; cout<<"Enter values seperated by white space:"; for (i=0;i<max_val;i++) cin>>x[i]; …

Member Avatar for josolanes
0
1K
Member Avatar for aeolusaether

Hello daniweb. Seems like this site is amongst the latest and the greatest in programming and software development. Anyways: [B]Attempt to compile with gcc: [/B]C:\>gcc -o ywordf ywordf.cpp [B]Error:[/B] ywordf.cpp: In function `int main(int, char**)': ywordf.cpp:30: error: no match for 'operator!=' in 'i != __gnu_norm::multimap<_Key, _Tp, _Compare, _Alloc>::rend() [with _Key …

Member Avatar for aeolusaether
0
249
Member Avatar for adam2009

Hey all, I'm looking for some code (c#) that sets up new a user automatically in WinServer 2008. Does someone know such code? Where can I find the proper WinServer2008 API for that task? or any good tutorial for programming in csharp using windows server 2008 api ? (I'm totally …

Member Avatar for adam2009
0
205
Member Avatar for OzY360

Hi, I am getting a rather odd error message when I try compile a java program. I have attached the original java code and a copy of the error message in a .txt file. Any help you guys can offer will be much appreciated.

Member Avatar for OzY360
0
135
Member Avatar for SIFA

Can someone help me to make my function getbase2 to work? It needs to return a string value. [CODE]#include<stdio.h> char GetBase2(int iBase, int iNumber); int main() { int i; int number; printf("Enter number: "); scanf("%i", & number); printf("Enter base: "); scanf("%i", & i); printF("Conversion: %s\n",GetBase2(i,number)); } // Base 11 upwards …

Member Avatar for Ancient Dragon
0
134
Member Avatar for johndoe444

1. What is the difference between the system and exec family of functions? 2. I want to collect the output of the call from the system functions say. Say I execute this system("date"); Now say I don't want it to display the output rather it give the output as an …

Member Avatar for aspire1
0
83
Member Avatar for pjrey

site with issue: [url]http://pjrey.com/guestbook[/url] ok, ive tried and tried, no luck. what i am trying to do is: 1) the modal dhtml sign/window auto load (but only one time per user) 2) on completing the form, and hitting submit, i want the parent window refreshed (to show new content that …

Member Avatar for pjrey
0
129
Member Avatar for skybomb0

I am very new to c# so please bear with me. My goal is to make a simple tcp chat server and client to get used to c# sockets a bit more. I do have experience with sockets so I thought this was a good place to start. The code …

Member Avatar for skybomb0
0
138
Member Avatar for itisnot_me

ok so i was trying to look into making a loading spinner be put up when i am using a get or post method but it started to get a little overwhelming with what some people did. if you could help i would like to know how to make it …

Member Avatar for itisnot_me
0
65
Member Avatar for hisabness

I am using PHP to create and index of the files contained in a directory. I then echo the files by including the index function in another php script. How can I change where the PHP shows up? It currently shows up at the top of the page but I …

Member Avatar for hisabness
0
1K
Member Avatar for rogue005

I am using a PriorityBlockingQueue in my server program for a network printer manager, but the thing is whenever I print the size of the queue its always 1. I think it is cause i am using threads in my program to support multiple clients. How do i solve this …

Member Avatar for rogue005
0
143
Member Avatar for rowdyboudy

Hi guys, I have written the following code which iterates over a integer array and returns a string by concatening the digits. Is there is an easier or more efficient way of writing this in Java similar to the C# function ToString? [CODE] private int[] myArray; public int[] getMyArray { …

Member Avatar for peter_budo
0
140
Member Avatar for urbangeek

hello guys, the output of the program should be like this: [ICODE] With how many numbers do you love to work with? 3 Enter no 1: 23.4 Enter no 2: 15.54 Enter no3: 55.48 In ascending order the numbers are: 15.54 23.40 55.48 [/ICODE] I've written this program: [CODE] #include …

Member Avatar for urbangeek
0
1K
Member Avatar for JohnPhilipps

Good evening everyone, I would like to ask about copy constructors. I have been working on a base\derived class C++ program in which I am trying to compare the areas of a couple of Rectangles, and once I get past the errors I am currently having, I wouldn't mind comparing …

Member Avatar for jonsca
0
1K
Member Avatar for vbx_wx

Does anyone know a function equivalent to GetAsynKeyState() ? to test if a key is pressed? i am trying to use it for a keylogger...and except windwos hooks,thanks

Member Avatar for Nick Evan
0
109
Member Avatar for anansiva

HI, Please can anyone know the advantage and disadvantage of Dot net?.if anyone know,please post the reply immediately.....thanks in advance

Member Avatar for rdhansrihoney
0
167
Member Avatar for sandip vav
Member Avatar for Ramesh S
0
73
Member Avatar for mattloto

Thanks to another post of mine, I found out about itertools.product(). What I was wondering how to do is to code it so that I can use as many arrays as parameters as possible, with the number of arrays being defined by user input. for example, If the user inputted …

Member Avatar for vegaseat
0
1K
Member Avatar for merse

Is it possible to delete a non dynamic variable? Or is it automatically deleted when I construct a new one with the same name? [CODE] int N; int N; [/CODE] Is this possible? My purpose is, that I want to use an object from a class in a loop: [CODE] …

Member Avatar for mrnutty
0
137
Member Avatar for mattyd

I have one, reoccurring issue that arises each time I run this incomplete program I am working on; I have spent much time attempting to locate the bug. I am convinced it arises from a simple error. Problem: User has made a "deposit" but when the User makes a "withdrawal", …

Member Avatar for peter_budo
0
96
Member Avatar for Mena samy

When i drag a report viewer to my form and customize it and it works fine in my machine but when i test it in other machine it cause error!! hint: i test other application with the same database and they worked the error is "windowsapplication1 has encountered problem and …

Member Avatar for kvprajapati
0
93
Member Avatar for wutwutwut

I know how to get a program to read a raw text file that has been piped to it, and do some simple things like counting letters, but I don't know how to read the actual words and store the entire word as a string. For example, if a text …

Member Avatar for vegaseat
0
211
Member Avatar for oggiemc

Hi Everybody, Im having a bit of a problem with an assignment..Im trying to write a JDBC servlet which checks the value of a name in the database against the value inputed in a form..USER and PASS are the values inputted to the by user into the form.. The code …

Member Avatar for oggiemc
0
83
Member Avatar for Krstevski

Hello friends, I have a problem with opening an url into browser. I use: [CODE] /* Error msg -> The parameter is incorrect */ System.Diagnostics.Process.Start("http://www.[link snipped]"); /* Successfully start notepad */ System.Diagnostics.Process.Start("notepad.exe"); [/CODE] I go Start > Run > [url]http://www.[link snipped][/url] and then the site opens in the default browser …

Member Avatar for Krstevski
0
97
Member Avatar for girishn

#include<stdio.h> void squeez(char s[],char z[]); int main() { char s[100] = "Hey wassup !!!!!!"; char z[100] = "Wow cool!!!!!"; squeez(s,z); return(0); } void squeez(char s[] , char z[]) { int j,dummy = 0,i=0; char x[100]; for(j = 0 ; s[j] != '\0';j++)/* the starting loop */ { while(z[i] != '\0') …

Member Avatar for Ancient Dragon
0
119
Member Avatar for n.utiu

Let's take this: [CODE]f = open ('myflie.txt', 'w') f.write ('12345');[/CODE] I always get the length of the output printed on the console. Is there any way to prevent it from printing it?

Member Avatar for n.utiu
0
83
Member Avatar for yakovm

I wrote winapi application.Which during creation defined : [code=c++] CreateGLWindow(hwnd,"OpenGL",800,600,16,fullscreen); CreateWindow(TEXT("button"), TEXT("Choose Shading Mode"), WS_CHILD | WS_VISIBLE | BS_GROUPBOX,10, 610, 300, 120, hwnd, (HMENU) 0,hInstance, NULL); CreateWindow(TEXT("button"), TEXT("Wireframe"), WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON,20, 630, 100, 30, hwnd, (HMENU)IDC_M_WIRE , hInstance, NULL); CreateWindow(TEXT("button"), TEXT("Flat"), WS_CHILD | WS_VISIBLE | BS_AUTORADIOBUTTON,20, 660, 100, …

Member Avatar for yakovm
0
254
Member Avatar for jakariaal

Hi, plz help me.... I'm working in VB 6.0 with Access I have got a problem, Adodc1.RecordSource = "select * from marks where roll = 710028" 'It's working.... but Adodc1.RecordSource = "select * from marks where roll = troll.text" 'It's not working.... plz help me....

Member Avatar for vb5prgrmr
0
119
Member Avatar for kunyomi

Hi guys, I'm trying to UPDATE the image that has been already in the database with another image using a form in PHP. I got the uploading working all fine already. Just the edit part. With this code, I get no error, but the MySQL table is not written with …

0
416
Member Avatar for carlakawill

Hi All Can anyone help me with this problem please. I am writing a program in C# and have an access db07. The user should be able to enter a date into a text box then that date is addedd to my sql query and then return all record with …

Member Avatar for kvprajapati
0
181
Member Avatar for le_huck

hello guys! i'm quite new here and i'm probably posting this on the wrong place, but hey, here goes nothing! :P so, i have this lovely XML (not!) that was obtained through a yahoo pipe, and had a JSON decode, in order to transform it in a XML that could …

0
104
Member Avatar for johndoe444

If say I have only the binary of a another source file (no original source is available), then how to create this with my own program. Like say I have a source file containing some function print_hello() Now I compile it and get the binary lib.o Now another program test_lib.c …

Member Avatar for jephthah
0
255
Member Avatar for sarsekim

Hello, I have two classes, stnt_1 and stnt_2 of the same type. Is it possible for me to call these from a loop? where 1 and 2 are the iterations of the loop control variable. Other words, say that class had a displayString() method, is there a way for me …

Member Avatar for kvprajapati
0
112
Member Avatar for bandit711

[CODE] #include <iostream> #include <fstream> // I/O #include <iomanip> // For setw() using namespace std; ofstream outputfile("output.txt"); // Output file const int MAX_FILE_NAME = 35; const double INTEREST_RATE1 = 0.010; const double INTEREST_RATE2 = 0.010; const double LEVEL_ONE_BALANCE = 1000.00; const double MINIMUM_PAYMENT = 10.00; const double MINIMUM_PAYMENT_PERCENT = 0.10; …

Member Avatar for bandit711
0
139
Member Avatar for mattyd

I have addressed this problem sometime ago; I have either misplaced, misunderstood, or never received a response to this issue so therefore I am again attempting to deal with a Python issue: I am towards the end of a build, and I am dealing with button commands, something that was …

Member Avatar for TrustyTony
0
379
Member Avatar for KMW12345

Hi. I am also having a standard deviation problem. When I try to calculate the sandard deviation of the numbers below with the suggested algorithm, I run into square root of a negative number. The algorithm does work for some data sets, but neither this one or 8 others. Does …

Member Avatar for jephthah
0
660
Member Avatar for lll_ari_lll

Hi, i am facing problem in log out section, which redirects to the file logout.php. where after unset-ing and destroying the session, it redirects to index page again, but when i type the following page address which should be seen only when an user is logged in, shows.. can anybody …

Member Avatar for lll_ari_lll
0
127
Member Avatar for pistol-pete

This is a conceptual question to help with a program I am developing. It takes two lists from a file and compares them in parallel to see if they are anagrams. My question is how do I store these strings in a one dimensional array mapped to ASCII codes. I …

Member Avatar for jonsca
0
195
Member Avatar for systemsbiology

Hello Everyone, I am an intermediate developer in programming languages. I have developed some python script and some java applications. In my project, I need to integrate the python script with a java application to put all the tools in a single pipeline to function as a continuous workflow. This …

Member Avatar for ~s.o.s~
0
981
Member Avatar for pranay_agg

hi , i am having difficulty in implementing the basic mathematic principle of inclusion-exclusion. I want to find the no. of numbers in a range from 1 to N which are divisible by another set of numbers where size of set <= 15. Now the problem i am facing is …

Member Avatar for schaub1st
0
550
Member Avatar for jtodd

Hey guys! I am new to java and have a newbie question. In a linked list, if I wanted to set the int first = to the first node in the linked list how would I do that. Thank you all in advance for your help!!

Member Avatar for tiny7415
0
86
Member Avatar for SCoder1

what's wrong with my java code? NullPointerException was found by my compiler.... [code] import java.awt.event.*; import java.awt.*; import javax.swing.*; import javax.swing.event.*; class WheelCalc extends JFrame implements ActionListener { public static final int WIDTH = 400; public static final int HEIGHT = 400; public JLabel NewTire; public JLabel OldTire; public JTextField …

Member Avatar for stultuske
0
152

The End.