199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amit_pansuria

Helo, i want to write open SSL based c,c++ application for client socket in vc++ without using any API of winsock or MFC functionality. can u guide me how do i implement it. I search a lot on google but not getting exactly. Regards, Amit

Member Avatar for amit_pansuria
0
2K
Member Avatar for blaze423

I'm a relatively new Python programmer, but I have all the basics down. Currently I'm working on a program that sends and receives serial input and receives video input. I have gotten this to work in a basic command prompt structured code however I want to be able to implement …

Member Avatar for a1eio
0
233
Member Avatar for ExplainThat

A cheatsheet covering the core features of PHP 5 is available here [URL="http://www.explainth.at/en/qr/phpqr.shtml"]PHP5 Cheatsheet[/URL] Free to print, share and enjoy.

Member Avatar for ExplainThat
0
64
Member Avatar for abdulraqeeb33

i need to display the contents of a database(table) MS access db, on to the screen. how do i got abt it??? the data keeps changing dynamically...the program should be able to refresh it self

Member Avatar for Ezzaral
0
174
Member Avatar for kumar.vsv

Hi, I am kiran I have a task like If I click one option box like country then corresponding states to appear,than I click states than next option box must display cities.please see this link you will get an idea [url]http://www.bharatbloodbank.com/search.php[/url] How to do it in struts. If I want …

Member Avatar for jwenting
0
74
Member Avatar for komany

Hello I have little problem with a code. I want to send information about a size on a file and uses “size_t filesize”. I will send this information thru a network called ”controller area Network” and uses the code stat = canWrite(hnd, 1234, size, 8, canMSG_EXT); in order to do …

Member Avatar for Ancient Dragon
0
166
Member Avatar for geetasks

hello Can anyone tell me how to implement AJAX on .net page without using Update panel. I had got two dropdown one for country and other for state. If I choose country automatically states should fill in the second dropdown without postback. I had used in page load ScriptManager1.RegisterAsyncPostBackControl(drpItem); But …

Member Avatar for Ramy Mahrous
0
82
Member Avatar for flash121

Greetings, I have a problem. I have an abstract class called Number and 3 derived classes called Integer,Double and Float. The Number class has an abstract virtual method, which the derived classes (obviously) must inherit. Now comes the part where im stuck. The method has to be declared using a …

Member Avatar for Narue
0
113
Member Avatar for flforlife

I know how to post multiple rows using a if and foreach loop. I can post multiple rows from one form. here is the form snippet..... [code] <tr> <td><input name="entry[0][place]" type="text" /></td> <td><input name="entry[0][team]" type="text" /></td> <td><input name="entry[0][wl]" type="text" /></td> <td><input name="entry[0][gb]" type="text" /></td> <td><input name="entry[0][pcage]" type="text" /></td> <td><input name="entry[0][rs]" …

Member Avatar for digital-ether
0
125
Member Avatar for timo_81

Hi, I wanted to ask if somebody could help me on the following problem: I want to check how often a button in python/tk is clicked. I tried the folowing but it doesn't work: [code=python] click=0 def button_clicked(): click=click+1 print click [/code] but this won't work because the variable click …

Member Avatar for timo_81
0
175
Member Avatar for Drake

Data types are used to represent numbers and characters used in a program, why do programmers benifit from having such a variety? Also if anyone could help me out with what an unsigned character is used for? thanks for the help

Member Avatar for Narue
0
93
Member Avatar for timdog345

This is what I need > 1) I also need to use a for loop to prompt user to input two intergers: firstNumber and secondNumber (firstNumber must be less then secondNumber) > 2) Outputs all odd numbers between firstNumber and secondNumber > 3) output the sum of all even numbers …

Member Avatar for Rajith Cherian
0
109
Member Avatar for kevin wood

i have created a file uploading system on a website that i have created and i need to know how the file can be over written. the file thats are upload are only used once and the next time the user uploads a new file i want the last file …

Member Avatar for kevin wood
0
79
Member Avatar for computers08

Hi I'm new to programing. My tearcher gave me a ster program where there are 4 right triangles, that triangles 2-4 are just reflections/rotations of the first one - all being right triangles of size 10 on the perpendicular sides * ** *** **** ***** ****** ******* ******** ********* ********** …

Member Avatar for computers08
0
102
Member Avatar for kashmir323

I am running this site which I've gotten allot of responses about and its been a hassle to edit the html constantly to add more content. Is there a way I can make a extreamly easy CMS to add information? Here is the site thats going on: [url]http://competitive.rebornservers.com/[/url] What I …

Member Avatar for pritaeas
0
90
Member Avatar for risa

hi, whenever std::string is assigned to another std::string its giving me a memory leak,why is it so....generally std::string's destructor takes care of freeing it.......can anybody help me wht to do to avoid this type of memory leak...???

Member Avatar for mitrmkar
0
171
Member Avatar for bala24

Hi, I have this data in the database and pre-defined template slides on the web server. What I need to do is to get the data from the database and to create a ppt from the available slides by populating content in them. Can anyone suggest me how this can …

Member Avatar for bala24
0
104
Member Avatar for luisator

:?: Hi: I am postin in this forum because someone told me all the windows applications were developed in visual basic. I need to know which is the DLL associated with the sound recorder. I nedd to use the record method to call it from a java application. I hope …

Member Avatar for jasimp
0
71
Member Avatar for leedsy7

How do i print from a listbox?? i'm using Access. Here's my code for the form to add items to the listbox... I have tried many ways and have failed many times ... Help needed!! Option Explicit Dim ItemNumber As String Dim ItemDescription As String Dim Qtytoorder As String Dim …

Member Avatar for The Macedonian
0
1K
Member Avatar for saintb

following masijade advice i tried busting my head abit. i have written the following code import java.awt.event.*; import java.awt.*; import javax.swing.*; import javax.swing.border.*; public class Game extends JApplet implements ActionListener { //Creating a new JPanel called panel1 JPanel panel1 = new JPanel(); //Creating a JLabel for panel1 JLabel header = …

Member Avatar for masijade
0
132
Member Avatar for ktob

hi, this code compiled using visual studio. Have changed the line const size_t i= __gnu_cxx::hash(x); from const size_t i=stdext::hash_value(x); so that it would compile using gcc. However I am getting an error message as shown below. Any suggestions appreciated. Thx [code=cplusplus] template<class X, class Pred= less<X> > class Hash{ private: …

Member Avatar for ktob
0
499
Member Avatar for VidVB6

Hi All I am populating a listbox based on an item selected in another listbox. But wat i get is huge number of entries in the populated listbox. It basically contains the folders anf all files present in a particular project workspace. (so as n when the count of folders/files …

Member Avatar for The Macedonian
0
115
Member Avatar for Aamit

How to [COLOR="Red"]check USB is enable or not [/COLOR]in c++ programing. Plz give me some hints or sample code or links

Member Avatar for Asat232
0
232
Member Avatar for humhaingaurav

Hi Guys, Can someone please explain me why this is happening [code=cplusplus] #include<iostream> using namespace std; class a { public: int a1; // If I remove this it'll work fine a() { cout << "Constructor of a \n"; } ~a() { cout << "Destructor of a \n"; } }; class …

Member Avatar for vijayan121
0
103
Member Avatar for KimJack

Hi, I am working on a sort of stack calculator. If anyone can suggest a better method please advice: Basically, using the stringtokenizer to break the string into tokens. If the token does not equal "add" or "sub" or if the token is a digit push it onto the stack... …

Member Avatar for javaAddict
0
818
Member Avatar for Adrian99420

Hi, I created two window form (the two form call form1 and blank), when I click a button on the first form it will link to the second form. However, i face problem when I wish to change the second form text (name of the form) using the string I …

Member Avatar for mitrmkar
0
106
Member Avatar for scream2ice

i'm trying to write a program that reads a text from the user(keyboard) sentence by sentence and then prints the 'morse code' of them char bay char on a text file. I'm just testing it for the letter 'c' to start with, but it doesn't seem to be working well …

Member Avatar for John A
0
101
Member Avatar for binuindia

I need help to create a search page for a real estate site, with option fields for house/unit, suburb, price range etc. It has to search a database file and if an entry meets these conditions, that entry (with an image) should be displayed in the results page. Please tell …

Member Avatar for binuindia
0
66
Member Avatar for abdulraqeeb33

this is the output on server init: deps-jar: compile-single: run-single: checking the client of ip 169.254.86.65 checking the client at port 59000 checking the client at hostname RAF System with169.254.86.65is online probing the client of ip 169.254.86.65 creating the client of ip 169.254.86.65 whose hostname is RAF at port 59000 …

0
110
Member Avatar for amitpawar007

Hi All, I am using ACE. when i try to open a file with ACE_OS::fopen function in append mode, my program crashes. There seems to be no problem when i try ACE_OS::fopen function with write or read mode. code example. ACE_OS::fopen("demo.txt", ACE_TEXT("w")); // working fine ACE_OS::fopen("demo.txt", ACE_TEXT("r")); // working fine …

Member Avatar for Salem
0
173
Member Avatar for sapamtiken

THis is the home page of my website. The problem is that when it is viewed from 800x600 screen resolution it is showing nicely. But when it is viewed from a screen with a higher resololution, the whole page is aligned to the left. Please tell the code to align …

Member Avatar for sapamtiken
0
203
Member Avatar for anbuninja

i dont understand looping at all. plese help if you can. i know its like doing my work for me but yeah i dont know looping. create a program that keeps reading a sentence and a character and displays how many times the character appears in the sentence until user …

Member Avatar for hacker9801
0
124
Member Avatar for nurulshidanoni

How to change this data sturucture from vector <int> total; to float total;? because if I change it to float teher is many error.... [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for each() using namespace std; // import …

Member Avatar for littlestone
0
294
Member Avatar for ertarunz7

hi everyone.. I'm struck in a problem .... that i want to refresh two td/div {with whatever it is possible} at the same time , without refreshing or reposting the other fields of the form in html by clicking a button using PHP/js/Ajax/HTML. I want to do this exactly as …

Member Avatar for ertarunz7
0
112
Member Avatar for cmoney12051

i have to make the C++ program that will have the user input some test grades and exam grades and their personal info then output their stuff in the end. i have almost the whole thing done, but i would compile it throws up a list of 30 erros and …

Member Avatar for cmoney12051
0
129
Member Avatar for nelledawg

I am so incredibly frustrated right now. I have seriously been sitting here for hours trying to figure out how to validate program input using ranges from a text file. My teacher gives us a lecture that is supposed to help, but the lecture doesn't even have a thing to …

Member Avatar for nelledawg
0
103
Member Avatar for PirateTUX

I'm looking for a bit of advice. We're getting to the point in our game development where I need to start thinking how we're going to integrate scripting into the game engine. I was looking at Lua, but am also interested in what Perl or Python might be able to …

Member Avatar for hacker9801
0
111
Member Avatar for cheesy_mel

Hi.. I'm want to read each record (in 1 line) using fread(), the problem is the record length is arbitrary.. e.g. 1 "Joshua" "Rosenthal" "34 Mellili Ln" "Earlwood" 1 "000113133121" 0.000 2 "Martin" "Serrong" "45 Rosenthal Ccl" "Doveton" 1 "000113133121" 0.000 3 "Jacob" "Leramonth" "59 Dalion Pl" "Belmont" 1 "000113133121" …

Member Avatar for cheesy_mel
0
123
Member Avatar for tico

I'm new to creating python extension modules with distutils. I'm trying to create a module that uses the fmodEx audio library on OS X, and I'm running into some trouble. The needed library file is called fmodexlib.dylib. My setup.py looks like this: [CODE] from distutils.core import setup, Extension setup(name='test', version='1.0', …

Member Avatar for woooee
0
100
Member Avatar for sfak271

I´m writing a program to find the divisors of a number, using the modulo function. my problem is, i´m supposed to use an array to "output" the divisors, and the output should stop when an empty cell is reached. I´m not very confident with arrays and don´t really know how …

Member Avatar for Ancient Dragon
0
277
Member Avatar for spec80

Hi, I am writing a problem that only works when a certain character is entered (either A, B, or C), and if that character is not entered, the program will loop around until A,B , or C is entered. So i tried the following code segment below, but even when …

Member Avatar for spec80
0
92
Member Avatar for Wakhal

Suppose a table ABC have column XYZ containing data 3PSY0001-06-08-F 3PSY0001A-07-09-P 3PSY0001-02-09-P 3PSY0001-07-07-F 3PSY0002-09-08-P 3PSY0002A-01-03-P 3PSY0002-07-07-F How can i write a query so that the data ending with P without A can be updated with A. For example, with that query, data 3PSY0001-02-09-P AND 3PSY0002-09-08-P will be updated as 3PSY0001A-02-09-P …

Member Avatar for Wakhal
0
118
Member Avatar for Kusno

I'm able to set UIManager for UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel") and UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel") but for UIManager.setLookAndFeel("com.sun.java.swing.plaf.metal.MetalLookAndFeel") I get an error like this : java.lang.ClassNotFoundException: com.sun.java.swing.plaf.metal.MetalLookAndFeel What's wrong with my code ?? Thanks, Kusno.

Member Avatar for Kusno
0
246
Member Avatar for drichird

In linear algebra a 1 by m array of (let's say integers) can be considered a vector (row or column). Given 2 row vectors of the same size, can they be compared using <,> ? If so, what relation between individual elements in the arrays is required for "less than" …

Member Avatar for sarehu
0
110
Member Avatar for darkagn

Hi all, I am fairly new to PHP (my experience is mostly in Java) and I have inherited a project that was initially implemented in PHP4. I am updating it to use PHP5 and at the same time I am trying to add Logging to the project. I am using …

Member Avatar for darkagn
0
144
Member Avatar for oakdale95

im having problems with my java homework. I really need help. I need to use a loop make sure what the user input for their grade is vaild the grade has to be between 150 and 0. So can somebody show me the code to use import java.util.Scanner; // Needed …

Member Avatar for jasimp
0
111
Member Avatar for chickenmcnugget

to anyone who can help me out with this its of no big importance i was stumbling one day and this came across this little snit bit of what looks to be like a program or something so i tried starting it and i have no idea whats going on …

Member Avatar for chickenmcnugget
0
82
Member Avatar for saint.h

[code=cplusplus] int Seats::AddEntry() { std::cout << "Please enter your desired seat position"; std::cout << endl; std::cin >> position; ofstream SaveFile("Traveler.txt",ios::in); SaveFile << "Your Seat postion is...:"; SaveFile << endl; SaveFile >> position; SaveFile.close(); return 0; } [/code] This is just a snippit of my code...This function is one of 3 …

Member Avatar for Ancient Dragon
0
285
Member Avatar for aran87

hello is this how u do a delete query from mysql table i need to delete it depending on id number so if user enters id 10 it needs to delete the all the rows that have id 10 from any table which has that id.. thanks $query = "DELETE …

Member Avatar for ShawnCplus
0
85
Member Avatar for big24fan

The following script was posted as a solution to a problem I did in school, however, when I run this exact script I get 3 warnings and the script will not complete. I have also attached the warnings. They are below the script. Any help is greatly appreciated. [code=c++] #include …

Member Avatar for Ancient Dragon
0
134

The End.