132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for m-lamaa

dears i'm new to c++ and i'm trying to make some demos application now i'm buildin an application that use http connection to make http request and get a return value from URL example: use [url]http://www.mywebsite.com/somthing.aspx[/url] this URL should returm a simple string value how i can read this value??

Software Development c++
Member Avatar for siddhant3s
0
145
Member Avatar for anuragcoder

Hey guys, sorry for the bad rep. But, recently i've obtained a code in c++ which highlights c# syntax in a Richtextbox. [URL="http://www.c-sharpcorner.com/UploadFile/duncanharris/SyntaxHighlightInRichTextBoxP212012005044912AM/SyntaxHighlightInRichTextBoxP2.aspx"]LINK[/URL] I think the basic idea behind it is to specify an array of strings, and now the program should search and highlight the defined strings in a …

Software Development c++
Member Avatar for iamthwee
0
136
Member Avatar for vthokie11

I need to implement Huffman coding using a binary tree. I have successfully created the tree and have been able to execute the program by manually entering the characters and their frequencies but I now need to read the characters/frequencies from an input file and then output their matching Huffman …

Software Development algorithm c++
Member Avatar for daviddoria
0
141
Member Avatar for haydensewell

from this starting point: matrix = [[0 for x in range(5)] for y in range(3)] I need to make this: |0 0 0 0 0| |0 0 0 0 0| |0 0 0 0 0| +-+-+-+-+-+ 0 1 2 3 4 I have been trying .append and .replace to try …

Software Development python
Member Avatar for vegaseat
0
2K
Member Avatar for ollie60

I am trying to create a function that takes in a sorted vector of integers, loops through the vector and if there is a value in the vector that is repeated it deletes that entry. This is what I have so far and I am not too sure how to …

Software Development c++
Member Avatar for shahramjaved
0
757
Member Avatar for Monzers

Implement a shape hierarchy. you must have your superclass shape and 2 subclasses two-dimensional shape and three-dimensional shape. Under two-dimensional shape, you have other subclasses, circle, square, and triangle. Under the three-dimensional shape you have the sphere, cube, and tetrahedron. Each two-dimensional shape should contain a method getArea to calculate …

Software Development java
Member Avatar for JamesCherrill
0
272
Member Avatar for ally1002

hello peers, im working on a game, a pong-ish game there's is supposed to be a pause button but i dont know what to write. this is the first time i use vb. is there such a thing as a suspend method or somthing. im using vb6 thanx for the …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
426
Member Avatar for ansar basha.k

I have an array a[]={0,1,2,3,4} and out put should be: 3,4,0,1,2. can any body write the code for this program? if u write appreciate. Thanks!

Software Development java
Member Avatar for Abdel_eid
0
88
Member Avatar for Exaktor

Hi, I have a datagridview in form1. I want that the values from the datagridview shows up in an another form named 'edit'. I have done textboxes in form named 'edit' so I can see the values from datagridview. Check this image it maybe helps you understand better. [URL="http://img532.imageshack.us/img532/5362/inventoryvalue.jpg"]http://img532.imageshack.us/img532/5362/inventoryvalue.jpg[/URL]

Software Development
Member Avatar for Exaktor
0
350
Member Avatar for new2programming

Hi i am trying to make a jump and run game in Visual C++ using SDL I have been following a tutorial([url]http://jnrdev.72dpiarmy.com/[/url]) which was very good but finished before everything was covered. In a game lik mario, the players will navigate over jumps and onto ledges ect. I am using …

Software Development c++
Member Avatar for Hidden_mistakes
0
197
Member Avatar for JameB

I just made a program that takes input from the parallel port(or printer port) of a computer and translates that input to English/Numbers. Its a Morse Code Transmitter translator and a Morse Code Calculator. Anyways, so I have to write a writeup about the program and I am kinda confused …

Software Development c++ printer
Member Avatar for Nick Evan
0
107
Member Avatar for judithSampathwa

hi there, how can i ad a row to a datagrid view in a programming way. when a Add button is clicked it must do this action. how can i do this.... thanx

Software Development c#
Member Avatar for vipsha16
0
92
Member Avatar for Alex_

I'm trying to make the container to work with one of my classes. But i don't understand what should the overloaded operator contain. Maybe this is because i don't know the container too well... Please give me some insights. This is my class [code=C++] class Complex{ private: int re; int …

Software Development c++
Member Avatar for mitrmkar
0
167
Member Avatar for bobsta

Hi I have just started using STL vectors and iterators so please excuse my ignorance. Suppose I have three classes A,B and C such that : std::vector<A> aObjects wherein each object "a" comprises a vector of "b" objects which in turn comprises a vector of "c" objects ie. [CODE]class A{ …

Software Development c++
Member Avatar for Banfa
0
288
Member Avatar for shereefatef

Hello everyone i'am tring to write a program that convert expression from infix to postfix using stack. but i have a problem with my code it terminate the program i can't determine what is wrong but it seems to be in the (precedence) function . so can anyone help me …

Software Development c++
Member Avatar for iamthwee
0
157
Member Avatar for thamanna

Is there any bulitin function for substring search in c#?

Software Development
Member Avatar for nick.crane
0
63
Member Avatar for geoNeo_

Hi everyone! Just a quick question: I have made a little personal application using the notification icon class, and I would like the balloon tip message/title to pop up every 30 minutes - how would I go abou that ? Fanx guys ! Go well and happy coding ! :)

Software Development
Member Avatar for nick.crane
0
100
Member Avatar for manishwadhwa22

hi i was wondering if anyone could show me how to put graphics to the following card game as i want to learn how to add graphics and what type i should use like for example: DRAC or is there something even better, cheers: [CODE]#include<cstdlib> #include <process.h> #include<ctime> #include <iostream> …

Software Development c++
Member Avatar for Ketsuekiame
0
152
Member Avatar for godflesh231

when i run my code i get one, and i can't tell which part of my code is faulty as VC++ points me to this code from <xlocale> [code=c++] _CRTIMP2_PURE facet *__CLR_OR_THIS_CALL _Decref() { // safely decrement the reference count, return this when dead _BEGIN_LOCK(_LOCK_LOCALE) if (0 < _Refs && …

Software Development c++
Member Avatar for mitrmkar
0
164
Member Avatar for tinanewtonart

In this program we are going to simulate a simple card game. The rules are that the player selects a card out of a deck of 52 cards. The computer picks a random card out of the deck. The person with the highest card face number wins. In this program …

Software Development c++
Member Avatar for kvprajapati
0
6K
Member Avatar for pankajagar2002

Hello friends could any one explain why my code is printing true[code]if(0.0 == -0.0) { System.out.println("true"); } else{ System.out.println("false"); } and if if i write this if(0.0 == -0.5) { System.out.println("true"); } then it is printing dead code. please explain[/code]

Software Development java
Member Avatar for pankajagar2002
0
95
Member Avatar for tuomari

Hi! I have been looking into this the whole day, and I haven't found any good straight answers to my problem. So what i am trying to do, is that I have a XML file where i have defined for example what is the name of the column (In this …

Software Development asp.net c# xml
Member Avatar for kvprajapati
0
201
Member Avatar for John A

Hi, I'm not sure if this is the right forum to post this thread in, but here it is. Even though I program on the Mac OS X platform, and am quite good at it, I'm really doing game programming, so I never really learned much Cocoa or Carbon. Can …

Software Development c first-post os-x
Member Avatar for jarimany
0
1K
Member Avatar for darkangelNeo

[CODE]#include<fstream.h> #include<conio.h> void main() { int iSize,iChoice,iDelete,iMem={1024}; clrscr(); cout << "Brand New Flash Drive\n"; cout << "Message: Free Space: " << iMem << ""; getch(); clrscr(); while(iChoice!=8) { cout << "\n"; cout << "[1] Format Flash Drive\n"; cout << "[2] Copy File\n"; cout << "[3] Delete File\n"; cout << "[4] …

Software Development c++ flash
Member Avatar for Ketsuekiame
0
340
Member Avatar for prem2

Hi DaniWeb team, Did any one knows the installion step about the open fire server.I want to configure it in to my Mysql database. Thank you. Premnath.M

Software Development java
Member Avatar for prem2
0
104
Member Avatar for jsphb9000

Hi all, So I'm trying to do this checksum problem for my C programming class but im running into some difficulty. My output is supposed to be this: Line: This is short. Checksum: 2 Line: The quick brown fox jumped over the lazy dog. Checksum: = Line: A. Checksum: O …

Software Development c
Member Avatar for Aia
0
177
Member Avatar for vanpersie

Hi I have two classes the first inherits the second which should retrieve records of a table found in an oracle database as a jtable but it display table header only! can anyone help me to know the problem please ? [code] import java.sql.*; import java.util.*; import javax.swing.table.*; public class …

Software Development java java-swing oracle
Member Avatar for vanpersie
0
119
Member Avatar for P00dle

I wrote a program that has to process any files that are put in a specified folder. I would like to keep track of those threads, though, preferably via some sort of process id or something. is there any way that I can get a list of the threads that …

Software Development java
Member Avatar for P00dle
0
187
Member Avatar for mototrucker

I have a quesion about using the timer1 function. I am a complete virgin when it comes to programming, so please be kind. I have a project that is using an NCD relay controller to control linear actuators. I want one relay to turn on and then stay on for …

Software Development vb.net
Member Avatar for Luc001
0
78
Member Avatar for yuvaraj.tr

Hi , I have one buffer size is 50 bytes and reading 50 byte data from file unsigned char bufffer[50]; read(fd,buffer,50); // Consider each byte numerical is value is zero. printf("@@%s@@",buffer); // Here i will get @@@@ only. But I want @@(50 zero)@@ as output(i have to use %c or …

Software Development c
Member Avatar for jephthah
0
80
Member Avatar for coding101

hi, I dont know how to use bubble sort or heap or whatever else there is. what im trying to do is sort a list of number and delete the repeats. So the user types in how many numbers they want to enter, and then types in the numbers. ex. …

Software Development c++
Member Avatar for WaltP
0
155
Member Avatar for bobbyg118

I am new to this website and was looking for some help .I am currently having trouble because I need to take the function generateOutput and have it display three random messages: Excellent, Good Job, and Very Good. Attached is the .cpp file

Software Development c++
Member Avatar for Ali Shah Ahmed
0
100
Member Avatar for westsider123

I'm having trouble with this code, I want to make the answer in (^)and(*) Example : Enter number : 8 Prime factors of '8' : 2^3 Enter number : 56 Prime factors of '56' : 2^3*7 Please help me with this, Thanks![code]#include <stdio.h> /* Find out the prime factors * …

Software Development c
Member Avatar for jephthah
0
428
Member Avatar for luai25

i need to copy many files with same date from a folder which contains a lot of files to another folder ?

Software Development visual-basic
Member Avatar for vb5prgrmr
0
101
Member Avatar for cokaznsyco72

I'm having trouble making a variable argument function for my class. When I gcc it, its giving me these errors: my_printf.c: In function `print_str': my_printf.c:14: error: syntax error before '{' token my_printf.c:20: error: syntax error before "__builtin_stdarg_start" here's a code snippet: [CODE]#include <stdio.h> #include <stdarg.h> #include "my_io.h" // ASCII definitions …

Software Development c
Member Avatar for jephthah
0
197
Member Avatar for stabzagg

Hey there, I have written some code to draw a grid on a canvas but the code is far to long.. so I was wondering what the most efficient way to write my code would be. [CODE] self._canvas = Canvas(self, width = 450, height = 450, bg ='white', highlightthickness = …

Software Development python tkinter
Member Avatar for morgadao
0
5K
Member Avatar for ypdev

Hi, I am trying to pass query string from one page to popup window as follow: [CODE]Dim popupScript As String = "window.open('cFinder.aspx?cName=" & c_TextBox.Text & "','', 'width=420,height=200,menubar=no,scrollbars=yes');" If (Not Page.ClientScript.IsStartupScriptRegistered("popup")) Then Page.ClientScript.RegisterStartupScript(Me.GetType(), "popup", popupScript, True) End If[/CODE] The popup window comes up very well only if the text I typed …

Software Development open-source vb.net
Member Avatar for kvprajapati
0
272
Member Avatar for zizi

I really do believe that I’m not asking a good question, but I’m new newbie When I’m programming for example I try to use the contain method for finding a value in the dictionary data type: I cud do it in my mind by two way: dict.Values.Contains(str)(however I had an …

Software Development
Member Avatar for apegram
0
99
Member Avatar for mebob

Hi, I recently downloaded the GMP library, and I am completely lost in building it. I tried building it, but it just doesn't want to work for me. I want to build the C++ wrapper. BTW, I have never built a library before, so please excuse any of my stupidity …

Software Development c++
Member Avatar for mebob
0
94
Member Avatar for kratosaurion

Hi guys, when I was working on this game for school I ran into a weird linker error, LNK2019. It bugs me to no avail, so hopefully you guys can help me. It seems to be a problem with the string pas. I submitted alternate values for where they would …

Software Development c++
Member Avatar for LevyDee
0
149
Member Avatar for sachintha81

The following registry key contains many system default folder locations. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders The value for the path of the All Users desktop, which is found there, is as follows: XP or earlier : %ALLUSERSPROFILE%\Desktop Vista or later: %PUBLIC%\Desktop Whereas the actual paths of the All User desktops, respectively, are …

Software Development microsoft-windows windows-vista
Member Avatar for sachintha81
0
338
Member Avatar for dorotalp91

is it important to close a file thats been opened with FileWriter? if yes how come??

Software Development java
Member Avatar for dorotalp91
0
116
Member Avatar for mikesowerbutts

Hi, I have created a class which is a "font searcher" the idea being that it will detect the font required for a given string in any language by getting each available font's unicode range(s) and comparing those ranges to the ones found in the string. This is working perfectly …

Software Development motherboards-cpu-ram pdf windows-server
Member Avatar for sknake
0
222
Member Avatar for PinoyDev

Good day guys! I just want a little help about recordset navigation to act when i click Previous and Next button. I have created the navigation code but it jumps the records on a table..My code below. [code=vb] '==========================In class module(clsCheque_Navigation)======================== Option Explicit Private Nav_chkno As String 'Store current page …

Software Development visual-basic
Member Avatar for PinoyDev
0
105
Member Avatar for mansoorhacker

hello dear developers. hi. i have developed a c# application, it requires a username and a password for login to the application. but the passwords which users provide store in the database in plaintext. so i want them to be encrypted when stored in database and decrypted when matched at …

Software Development
Member Avatar for sknake
0
78
Member Avatar for corby

hey guys/gals. how do i save to a file the data that is printed by this program i wrote. I have the code to do this in the createFile function but i am unsure in how to output what was printed. Any suggestions? [CODE]//class member functions #include "experiment.h" Experiment::Experiment() { …

Software Development c++ ios
Member Avatar for hnizamoglu
0
141
Member Avatar for fougere

Hello. I am writing a program with some dynamic arrays of pointers to objects (not arrays of objects). Since there will be A LOT of tacking on new objects to the arrays, for the purposes of efficiency, I am implementing an algorithm to fill up a buffer array first and …

Software Development algorithm c++
Member Avatar for fougere
0
153
Member Avatar for abhimanipal

Hello Everybody, I have a small doubt regarding how we can call constructors in a C++ class [CODE]class test { public: test() { cout<<"In test\n"; } }; int main() { test t1; test t2(); // This call does not give compile time error but does not call the constructor cin.get(); …

Software Development c++
Member Avatar for abhimanipal
0
107
Member Avatar for bghodsi

I am splitting the label file path into an array as shown below. When I run the program, I get the error indicated at bottom of this page, Can anyone tell me how to avoid making this error. Thanks Dim arrFilename() As String = Split(lblFilePath.Text, "\") arrFilename.Reverse(arrFilename) Error 1 Access …

Software Development vb.net
Member Avatar for kouroshnik
0
138
Member Avatar for vivosmith

Hi I found this example on about.com . I understand most of this, but one part is giving me problems in genral. I tried classes before, and it did not go over so well. But since this is someone else code, it might be better than mine :). Thanks [CODE] …

Software Development c++ oop
Member Avatar for Fbody
0
105

The End.