199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for asushil

following program compiles Successfully, but exe gives above error, kindly can someone tell what is wrong using System; //using System.Data; //using System.Data.SqlClient; public class zzz { public static void Main() { try { string t; t = System.Environment.GetEnvironmentVariable("QUERY_STRING"); char[] v; v = new char[1]; v[0] = '='; string[] u; u …

Member Avatar for mejval85
0
234
Member Avatar for yap

Hello I have older c functions which I want invoke in new cpp program: [code=cpp] // Example of old c function void c_function(int** x, int r, int c) { int i, j; for (i = 0; i < r; i++) { for (j=0; j<c;i++) printf("%i ", *(*(x+i)+j)); printf("\n"); } } …

Member Avatar for yap
0
287
Member Avatar for Math.C

Can you help me with this question 1. Having the following function headings: void GetValues(int &length, int &width, int &depth); void CalcCubic(int length, int width, int depth, int &cubic); void PrintCubic(int cubic); Write a C++ program that asks the user to enter the length, width, and depth of a swimming …

Member Avatar for Ancient Dragon
0
99
Member Avatar for Dani

Attached is a small C++ program I wrote for an Algorithms and Data Structures class (CSC120 at Hofstra University). It takes grocery items from a text file and puts them into a hash table. The user can add, delete, and edit items in the hash table. Upon exiting the program, …

Member Avatar for aves
0
496
Member Avatar for lich

i wanted to put a Exit for statment. how can i put it Public Class Form3 Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer Dim Name As String For i = 1 To 10 Name = InputBox("Enter the Name") Exit For Name="Done" …

Member Avatar for selvaganapathy
0
91
Member Avatar for bigpig

I can echo the variables from my require_once file outside of a function, but inside a function they are empty (i.e. it's as if they were never parsed by require_once at all). Even adding a seperate require_once in the function will still echo empty variables.

Member Avatar for bigpig
0
140
Member Avatar for FTProtocol

[CODE] /* Super Simple Login - Version 1.0 Created By - FTProtocol */ #include <iostream> #include "connect.h" using namespace std; char* cookies; int exec_gunz() { char* buffer = (char*)malloc(120000); char *path = (char*)malloc(256); initialize_winsock(); memset(path,0,256); strcpy(path,"/common/prelaunch.nhn?gameId=u_gunz&subId="); connection conn = connect_to_server("gunz.ijji.com",80); http_get(conn,"gunz.ijji.com",path,NULL,NULL); memset(buffer,0,120000); rrecv(conn,buffer,120000); cookies = http_getcookies(buffer); endconnection(conn); free(buffer); return 0; …

Member Avatar for Ancient Dragon
0
108
Member Avatar for yara1

hi i design websit to view images i want when admin click on the image image will be deleted how i do that ?? this my code [code] <head> <script type="text/javascript" > function vvvv($id,$im) { [COLOR="Red"]if(confirm("are you sure want delet this imagej?")); $b=true if($b) { <?php mysql_connect ('localhost', 'root'); mysql_select_db("pickapic"); …

Member Avatar for yara1
0
89
Member Avatar for tanha

Hi, I wan to know where the MySQL variables stored? when I execute the [CODE]show variables; show status; [/CODE] I see many more variables, so I want to know the place they are stored in? and the file name too?

Member Avatar for mwasif
0
93
Member Avatar for abbasi89

Parking Software Parking software is to be installed on parking areas P1 and P2 at Centurion Plaza. Parking P1: Only for VIPs. Free of Charge Available Area for: 10 cars Parking P2: For Public use VIPs can Park if P1 is FULL Charging Rs. 05 / hour VIPs will park …

Member Avatar for mitrmkar
0
203
Member Avatar for lahom

hi i have dialog based application... i want to know when i minimize the dialog ...and right click the minimized dialog ...a menu (taskbar menue ) with "restor" and "close" and "about" options will appear..for me its not how can i do that.... any kind of help will be appriciated …

Member Avatar for mitrmkar
0
84
Member Avatar for ryy705

Hello, Is it okay to save credit card data in the database. I know it will be password protected but still, it will be a disaster if someone ever hacks in. How do real world companies(mine is school project) save their customer's credit card information? Thank you in advance.

Member Avatar for djnzak
0
488
Member Avatar for ranjithsnair
Member Avatar for shadiadiph

Hi I have a fetch all row data from my prices table so it displays all the records on one page using php. I want to insert all the row data into a new table but in one row. for example in my 1st table I have PriceID ProductCode Productame …

Member Avatar for shadiadiph
0
116
Member Avatar for jjasoningram

I have begun a new website using CRE Loaded6 v6.2 Pro. I am looking for tutorials or just someone who has had experience with the software. Thanks in advance. Jason

Member Avatar for jjasoningram
0
107
Member Avatar for realone

Hi guys, i want to add a character to the begining and the end of a multilne text box and save it into a file. e.g 1234 6789 9087 output '1234', '6789', '9087' i will appreciate the code to achieve this in vb6

Member Avatar for selvaganapathy
0
74
Member Avatar for vs49688

I am writing a launcher program for some software. How can I get the value from HKEY_LOCAL_MACHINE\SOFTWARE\Argonaut Software\Croc2\1.00\InstallPath and store it as a string? Thanks in advance.

Member Avatar for vs49688
0
85
Member Avatar for Janulka

I use MS Sql Manager 2008. I need to extract some diagrams from my database. I tried to use reverse engineering in Visio but there is some problem with compatibility Visio drivers with my DB. Have any idea how to set up this and get the diagram(s)? Anyway I found …

Member Avatar for peter_budo
0
97
Member Avatar for ckehrer

Hi I am new to ASP.NET and to programming in general. I am trying to pass values from two drop down lists which will be display in a lblResult. My page load looks like this: [code=ASP.NET]protected void Page_Load(object sender, EventArgs e) { { ddlCompany.Items.Add(new ListItem("ABC Company", "0.15")); ddlCompany.Items.Add(new ListItem("XYZ Inc", …

Member Avatar for ckehrer
0
95
Member Avatar for handytxg

Hi, I need to convert english to morse code, atm Im using iterator and store the morsecode in vector. and store the result on new vector the problems is it'doesn't do the line properly. when I try to change the itr instead of store to new vector i't give me …

Member Avatar for Ancient Dragon
0
178
Member Avatar for Vukinagauna

Write a GUI program to compute the amount of a certificate of deposit on maturity. The sample data follows: Amount dep: $6000.00 Years: 15 Interest: 7.75

Member Avatar for Chaster
0
119
Member Avatar for rocky1821

Good day, Generally speaking, for C programming, what can I do, if the application which I am writing requires the heap to expand and contract dynamically?

Member Avatar for Salem
0
71
Member Avatar for chitra1

hi, I creating an application whereby I am generating a password and then mailing it to the user. I have been trying the mailto function but the mail is not sent to the recipient. Here's my code: [CODE] $to="chitra@yahoo.com"; $subject = "New Password"; $email = $_REQUEST['mail'] ; $message = "Your …

Member Avatar for Kavitha Butchi
0
166
Member Avatar for Flixter

I have some problem with putting object in vector her's the code [code=cplusplus] #include <iostream> #include <vector> using namespace std; class Pair { public: Pair(int a, int b) {x=a; y=b;}; int get_x() {return x;}; int get_y() {return y;}; private: int x; int y;}; int main() {vector<Pair> set(); Pair* a1 = …

Member Avatar for Flixter
0
151
Member Avatar for Jade_me

i try to make fibonacci pattern but i confused. there are anyone give me a hand for this example?please.... thanks in advance..

Member Avatar for Dajwalker
0
108
Member Avatar for n00b3

Hello, I am trying to get the properties of a Microsoft's Notepad.exe window. I have an instance of this application running when I execute the code below. [CODE] #include <iostream> #include <windows.h> using namespace std; BOOL CALLBACK PropEnumProcEx(HWND hwnd, LPTSTR lpszString, HANDLE hData, ULONG_PTR dwData) { cout << "Property Label: …

Member Avatar for n00b3
0
225
Member Avatar for cpopham

I have a parent form that has a combobox. Whn the form loads I get the data from the db and bind to the combobox. that works fine and here is the code I use in form load to cause this to happen: [code] conn.Open() cmd.Connection = conn da = …

Member Avatar for cpopham
0
233
Member Avatar for Egypt9

I'm really stuck on this Assignment and I need to find a solution ASAP before I get too far behind. Basicly, we're fuddling with inheritence and I've created 3 child classes from a parent 'Employee'. Each is a different type of employee. Right now, what I have is [code=cpp] Manager …

Member Avatar for Egypt9
0
81
Member Avatar for somename

Hello. I got a problem of that type: for example i have a simple program like this: [CODE]int main(){ sleep(10); }[/CODE] now if i define time to be 10 sec, prog works fine. [CODE]#define TIME 10 sleep(TIME)[/CODE] but i am trying to do something like that: [CODE]char time; // or …

Member Avatar for somename
0
362
Member Avatar for cro_php

Thank you for taking some time to understand this problem. Let me set it up by defining the arrays involved and then the code I am trying to pull off. I have this array >> $query_array = array('keywords'=>5, 'title'=>4, 'summary'=>3, 'content'=>2); I also have an array for each of the …

Member Avatar for cro_php
0
118
Member Avatar for java3d

Hello! I am new here, I am posting as I can not find any help on sun.com java forums for my problem! Here what I posted: Hello all! I am intending to do a simple thing: a quick bird like made with 3 boxes: 2 for the wings, one for …

Member Avatar for mastergreg
0
151
Member Avatar for brk235

Hi friends how to generate random numbers in between 0 to 1. I need to generate around 100 random numbers in between 0 to 1..please help me.. Thanks,

Member Avatar for William Hemsworth
0
116
Member Avatar for yara1

hii again sorry i ask much but i need help and i learn this my error massage:: Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\admin\logink.php:9) in C:\xampp\htdocs\admin\logink.php on line 24 <html> <head> <?php extract($_POST); if (isset($_POST['userName']) && isset($_POST['password'])) { $userId = $_POST['userName']; $password = …

Member Avatar for Ole Raptor
0
95
Member Avatar for geetajlo

hi ... Need help i need code for backup a database.. i want to place the code in a button...

Member Avatar for geetajlo
0
75
Member Avatar for assgar

Hi I was using PHP sessions to create a sticky form but a button was needed to reload the page. I am new to Java and I have decided to do away with the button. Using onChange="javascript:OnChange(this) to cause the page to reload once a selection is made from a …

Member Avatar for assgar
0
145
Member Avatar for napper_1337

Hi, my name is Florian Larsson. I changed one thing in my index.PHP and that was the "logga in" sign to "log on" (logga in = Log on. in swedish) anyway check out for yourselves what it resulted in [url]www.concode-gaming.com[/url] I don't know how to fix it or anything and …

Member Avatar for shadiadiph
0
67
Member Avatar for pcbrainbuster

Wazup guys, In the following code I can't fingure out why the lights do not work correctly and so I require your help ---> [icode] #include <windows.h> #include <d3d9.h> #include <d3dx9.h> #pragma comment (lib, "d3d9.lib") #pragma comment (lib, "d3dx9.lib") #define ScreenW 640 #define ScreenH 480 #define CustomFVF (D3DFVF_XYZ | D3DFVF_TEX1 …

Member Avatar for i_Robot
0
106
Member Avatar for handytxg

Hi, I'm new here and need help with if problems. [code] int main(int argc, char *argv[]) { list<char> charList; vector<vectordata> myvector; if (argc != 4) { printf("Syntax : euro file\n"); return 0; } cout << argv[1]; if ( argv[1] == "e" ) { loadList2(charList, argv[2]); //printList(charList); loadList(myvector); encode(charList, myvector); printvectordata(vectorresult, …

Member Avatar for handytxg
0
96
Member Avatar for zzmgd6

Having problems with the following... [code] // this is contained within "UF_styler.h" and can not be alternate ... [B]typedef int (*UF_STYLER_cb_f_t)(int dialog_id, void *client_data, UF_STYLER_item_value_type_p_t call_data);[/B] struct UF_STYLER_callback_info_s { char *object_id; int cb_type; int is_dialog_launching_cb; [B]UF_STYLER_cb_f_t callback_proc;[/B] }; typedef struct UF_STYLER_callback_info_s UF_STYLER_callback_info_t, *UF_STYLER_callback_info_p_t; .... [/code] [code] // my dialog.hxx file …

Member Avatar for vijayan121
0
263
Member Avatar for zoner7

So I'm trying to create a fairly simple program that allows a user to modify a list of games. The user can add, remove or simply call an enumeration of the games currently inside the list. The compiler keeps telling me that there is a problem with my use of …

Member Avatar for vijayan121
0
94
Member Avatar for jainendra.shah

hi all I want to genrate a control corssponding to each checked items of checklist box control. will you help me . thanks in advance.

Member Avatar for jainendra.shah
0
170
Member Avatar for ChickenFox

Hi I'm currently taking an introductory programming course and my final project is to write the infamous N-Queens program (find & display all possible solutions for N queens on an NxN board such that they cannot attack one another) using recursion I feel like I at least have a slight …

Member Avatar for ChickenFox
0
769
Member Avatar for CoolGamer48

Hey, I'm doing a school project on how math and physics are used in video games, and I'm trying to find things that I could talk about. The main idea I have right now is how trig is used to calculate the changes in x and y values of an …

Member Avatar for i_Robot
0
111
Member Avatar for towhidd

hi how r u? i have solve to find out prime number. But i can not do this problem which is: if i take a number. supose it is 40. the program will display 1-prime, 2-not prime,3-prime upto 40-prime. plz solve my problem. thnk u. bye

Member Avatar for WaltP
0
283
Member Avatar for muthu raj

[B]error follows:[/B] [code]The email was sent. Warning: fopen(C://Program Files/xampp/htdocs/samplemuthu) [function.fopen]: failed to open stream: Permission denied in C:\Program Files\xampp\htdocs\samplemuthu\mail2.php on line 58 Warning: fread(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\samplemuthu\mail2.php on line 59 Warning: fclose(): supplied argument is not a valid stream resource in C:\Program …

Member Avatar for muhammadfj
0
213
Member Avatar for bjeff71

I am having problems with my program. I am altering it to show the GUI which should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, the value of the inventory …

Member Avatar for jwenting
0
112
Member Avatar for twilightwolf90

I am creating a properties JFrame for use in my GUI, and I wanted to save all of the data inputted into the frame into a file called config.properties. The Poperties class already has several convienent methods to save, load, and get properties, but it stores all the data in …

Member Avatar for twilightwolf90
0
185
Member Avatar for phalaris_trip

I'm finishinh up my game for submission. Right now I'm doing the menus, and it's highly procedural, nasty long-winded chunks of code, as you can imagine.. And I'm trying to implement the following logic as part of a huge compound switch block: If MENU_FLAG is STATUS, then display the status …

Member Avatar for Duoas
0
274
Member Avatar for Angler

GIVE ME YOUR CODE Not really. Anyways, I'm looking to create a program that simulates dialog. Why? For my own personal amusement of course. *pets evil cat* I've been jumping around languages until I find one that works. All I've learned is that I suck at every one of them. …

Member Avatar for Angler
0
112
Member Avatar for i_saw_some

Hey, Does anyone know how to pickle classes that have classes within them? I get back the top level attributes, but not the attributes under them. For instance: [code] import pickle class authorObj(): class authors(): pass q = authorObj() q.authors.name = 'somebody' output = open('test.pkl', 'wb') pickle.dump(q, output) output.close() [/code] …

Member Avatar for Ene Uran
0
116

The End.