132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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++ ![]() | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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# | |
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++ | |
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++ | |
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++ ![]() | |
| |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 … | |
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 | |
[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] … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 = … | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
is it important to close a file thats been opened with FileWriter? if yes how come?? Software Development java | |
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 | |
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 | |
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 | |
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() { … | |
![]() | 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 … ![]() |
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++ | |
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 | |
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] … |
The End.