199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for valtikz

This is my code fo [code] void CallhistoryWindow::on_button_buffer1() { m_TextView.set_buffer(m_refTextBuffer1); } void CallhistoryWindow::on_button_buffer2() { m_TextView.set_buffer(m_refTextBuffer2); } [/code] if I already call the on_button_buffer1() function the m_TextView is already set the buffer m_refTextBuffer1. But if I already change the m_refTextBuffer1(the textfile) value the m_TextView wont change anymore you may need to …

Member Avatar for valtikz
0
120
Member Avatar for fadia

Hello guys.. I'd like someone to explain to me how to implement some functions in a program the simplest way.. I've an assignment.. and we only practiced the functions twice.. so am not good at it at all... can someone provide simple examples so that i can understand the full …

Member Avatar for fadia
0
164
Member Avatar for henryxxll

Hey: After messing around with Python for some time for large numerical calculations, I realized that Python is just too slow. It's great for smaller numbers, not to mention easy. However, once I start getting into numbers above around five hundred digits in size, it slows down drastically. So, I've …

Member Avatar for Peter_APIIT
0
223
Member Avatar for nanchuangyeyu

Hi, I am now writing a simple program for testing file I/O and an advanced vector class. Unfortunately I have encountered some confusing problems. My code is as following: [CODE] #include <cmath> #include <string> #include <iostream> #include <sstream> #include <fstream> using namespace std; class mVect { private: // NO PRIVATE …

Member Avatar for nanchuangyeyu
0
130
Member Avatar for javaman2

Design a class called BubbleSort that is similar to the class SelectionSort. The class BubbleSort will be used in the same way as the class SelectionSort, but it will use the bubble sort algorithm, which is [CODE=syntax] for(int i = 0; i < a.length-1; i++) if(a[i]>a[i+1]) interchange the values of …

Member Avatar for blumen
0
369
Member Avatar for newcpp

I have a problem about memory allocated, I read through my code and think threre is no problem, but it did happens, it very confusing me ...., here is my code: the problem lies in a[] when the Class Grid wants to use it. [code=cplusplus]#include <iostream> using namespace std; typedef …

Member Avatar for Ancient Dragon
0
369
Member Avatar for Peter_APIIT

Hello to all, i have code karatsuba but it is not compute correctly after 6 decimal digits. [CODE] #include <iostream> #include <vector> #include <algorithm> #include <limits> #include <cmath> #include <cctype> // ================================================ using namespace std; typedef unsigned long ulong; void userInput(ulong&, ulong&); int numberLength(ulong); ulong leftSplit(ulong, int); ulong rightSplit(ulong, int); …

Member Avatar for Peter_APIIT
0
461
Member Avatar for jessaherrero

I'm creating my class for mysql in which i have difficulty dealing with the parameters of which to use with prefix '@param' or '?param' or whatever it is. I need your help guys. I have here my stored procedure [code] DELIMITER $$ DROP PROCEDURE IF EXISTS `davidssalon`.`Customer_SearchName`$$ CREATE DEFINER=`root`@`%` PROCEDURE …

Member Avatar for Ramy Mahrous
0
166
Member Avatar for yamahammer342

im working on something and i need the user to be able to enter times that things start and end. i need to know how i can store that and then compare them later. they need to be able to enter like 12:45. i was thinking i could somehow ignore …

Member Avatar for Karkaroff
0
96
Member Avatar for Egypt Pharaoh
Member Avatar for kvprajapati
0
133
Member Avatar for mosesmasuku

Hi, I'm new to C# and I have successfully created an application that stores personal data in access database, however I want to include a picture which is in a picturebox, to save it in the table, along with other information I have already saved in essence, I want to …

Member Avatar for kvprajapati
0
262
Member Avatar for cam875

I am trying to take a a file of fixed size and use seekp to jump to a particular spot in the file, write around 100 bytes or so but only to that part of the file while still keeping the size of the total file the same and not …

Member Avatar for cam875
0
87
Member Avatar for bca_al

I need a complete source code of ONLINE EXAMINATION SYSTEM in JSP+ORACLE. Can sombody help me? my e-mail id : <EMAIL SNIPPED>

Member Avatar for SunnyY
0
208
Member Avatar for luko

Hello I am sure this is well within most peoples capability on this site and am a little embarassed posting this but alas here goes. I am using Crystal reports and I have only just remembered I can use VB code in Crystal. I have a report based on 3 …

Member Avatar for luko
0
83
Member Avatar for noga
Member Avatar for arctusus
0
690
Member Avatar for bharanidharanit

Hello, I need to autocomplete for a textbox. If i type 'a" in textbox means, it must show the dropdown list showing all words starting with a. Like that for all the alphabets. It must show the words based on the user typed words before. Suppose when the user first …

Member Avatar for vb5prgrmr
0
118
Member Avatar for rahul8590

well i am working on program which inputs : 1. student record (name , semester , class , branch , roll no ) 2. the various subjects on which the exam to be held 3. the date on which the subject s exam to be held the data which is …

Member Avatar for rm_daniweb
0
104
Member Avatar for Suneetha Reddy

[code=ruby] i am new person to ruby.can any one tell me what is ruby? what is ruby purpose?.why it is used?. plz tell me reference sites [/code]

Member Avatar for MariaERamos
0
142
Member Avatar for BlackStar

say you have [ICODE]struct Node{ int item; Node *next; } int main() { Node *p; p= new Node; p-> item = 100; p-> next = NULL; }[/ICODE] is there a way to make it that, the p-> item becomes whatever the user inputs?

Member Avatar for BlackStar
0
334
Member Avatar for trace63b

I have a few minor problems with this program: 1. My selectionSort method - it sorted Z - A, not A - Z. 2. Since I used a string array, I'm running into problems with "operator > cannot be applied" and "incompatible types". 3. Return "search term not found" in …

Member Avatar for trace63b
0
190
Member Avatar for peste19

[CODE] #include <iomanip> #include <iostream> #include <fstream> #include <string> using namespace std; int main () { int i,count(0),n; char strg1[50],strg2[2]; char *ptr1(strg1), *ptr2(strg2); cout << "Please input the string" << endl; cin >> strg1; cout << "Please input the character" << endl; cin>> strg2; while ((ptr1=strstr(ptr1,ptr2)) != NULL) { count++; …

Member Avatar for NathanOliver
0
1K
Member Avatar for smitem03

this is coming off a program that collects information and saves it after every command. I have opened my file successfully cause thats how it reads the client. the problem is saving the data. Does this code look right to everybody??? I am running in C and very very basic. …

Member Avatar for jephthah
0
92
Member Avatar for jaslysahal

hai, i am a beginner,,,,i want to know,how to install my project into client system.i want to know it in detai

Member Avatar for jaslysahal
0
138
Member Avatar for ni30rocks

I am developing i a c-editor which can run graphics on VISTA and can use minimum system RAM and processes. I need C help file database wich can be linked to my software

Member Avatar for ArkM
0
85
Member Avatar for jeffj

Hi, Don't hate me cuz I am a NUB. This may be very basic but I am more basic when it comes to python I simply need to add some variables together some come from a database and some are calculated. but I am getting a very frustrating error [code]TypeError: …

Member Avatar for woooee
0
257
Member Avatar for axfv

I have classes A1, A2, B, and C. A2 inherits from A1. C inherits from A2 and B, and its constructor initializes all B, A2, and A1 variables. As a tree, it looks like this: [CODE] C / \ B A2 | A1[/CODE] I have a function [I]Foo [/I]that takes …

Member Avatar for ArkM
0
179
Member Avatar for loveforfire33

hi, im currently revising linked lists for my exams - but i cant quite understand the reasoning behind using current or current.next in the following examples in the example below we are adding to the back of a linked list [CODE]void addToBack(int value) { // make a new element Element …

Member Avatar for loveforfire33
0
157
Member Avatar for itisnot_me

first off let me explain what is going on. i am creating a site that uses a shared DB and every customer that we have will have there own table. they can have other login's which will within there company table (employee logins). How would you go about and check …

Member Avatar for ShawnCplus
0
77
Member Avatar for NguyenThai

I have started with ASP.Net just 1 month. Right now, my project may implement the control that users can recovery their password by answering question. We all know that Visual Studio or Visual Web Developer has a control name Password Recovery Control, just drag and drop. So far I have …

0
143
Member Avatar for Bladtman242

Hi, are there some libraries i can use (in MS windows) for stuff like, obtaining info from a website? i read something about sockets once, but im not sure what it is (yes, i googled it :) ) Or would be easier/better, as some suggest, to learn java or python? …

Member Avatar for Bladtman242
0
147
Member Avatar for boujibabe

I thought I was finished with this program but now I can’t find a way to make it quit. The loop continues even when I enter the terminating character. I’ll post he whole thing. The answer may be simple but I'm just not seeing it. [code] do{ do{ system("cls"); printf("Enter …

Member Avatar for jephthah
0
201
Member Avatar for ahoest

Hey all! I use the folowing class in my program to draw lines. However I also need to be able to delete them. So I need to add a mouselistener to the lines but I don't know how and whereto do this.. Can anybody help me with this? Thanks!! [code] …

Member Avatar for ahoest
0
4K
Member Avatar for KirkPatrick

I am reading a .Csv file and am having problems trying to get the information I want, set up the way I want. Here is where my problem comes in: [code] String[] info = beanInfo.split("," , 3); for (String str : info) { ip = info[0]; hostname = info[1]; ping …

Member Avatar for KirkPatrick
0
161
Member Avatar for brixton

Hello! I have a DB setup which simplified looks like this: PRODUCT(id, owner_id) OWNER(id) What I want to do is to produce a list of how many products each owner has, and then sort it in some way, all in a single query. How do I go about this? Thanks!

Member Avatar for brixton
0
107
Member Avatar for relake

Hi I have a page which has a list displaying 5 images horizontally. Associated with each of these images there is some hidden text which is loaded into a display area by javascript when the image is clicked, at the same time an image that looks like a pointer is …

Member Avatar for relake
0
93
Member Avatar for bob89

I am new to c++ but have been using java for a while now. I am using Microsoft Visual c++ and when I try to build it I get the following error: Linking... Airline Project.obj : error LNK2019: unresolved external symbol "public: __thiscall FlightManager::FlightManager(void)" (??0FlightManager@@QAE@XZ) referenced in function _wmain F:\Documents\Assignments\CA212\Airline …

Member Avatar for Narue
0
109
Member Avatar for ganmo

Hello, I'm reading a chapter about virtual function. So what I know is that virtual function is equal to abstract functions. It is enough to declare one function virtual to make the class into an abstract class. E.g. [CODE=cpp] class Base { public: Base(); virtual set(); } [/CODE] Now I'm …

Member Avatar for ArkM
0
103
Member Avatar for gr8ash

hey all,,, i've been trying to make my own setw function that will do the same jop of setw,, this is my first year in college i study CIS in Jordan,,, so, i made this code but6 i still have problims with float numbers, it seems like this code work …

Member Avatar for ArkM
0
229
Member Avatar for pvsumanbabu

Hi All, can any of u explain the order of constructors ,how it will behaves when order of derived classes as like present in attachment

Member Avatar for Narue
0
95
Member Avatar for redcoder07

Anyone know how to read the second line from a csv file using PHP? I need the read the second line from the csv file and import into mysql

Member Avatar for Ezzaral
0
1K
Member Avatar for jonnytabpni

Hi Folks, I have a textbox which looks out for keypresses when it is in focus. For example, when the ";" key is pressed, a few functions are called. THe problem is, is that in the KeyPress function for the textbox, i have textbox1.Text = ""; to clear it however …

Member Avatar for jonnytabpni
0
336
Member Avatar for mikeandike22

Hey I am working on a database final project and I am almost done but it would be awesome if some database guru could look over my erd and my sql code and tell me if anything seems amiss. for the project we just had to design a database with …

Member Avatar for mikeandike22
0
168
Member Avatar for Clawsy

I try to program DirectX in Visual C++ 2008. I need at least a win32 working window. I have a BIG problem compiling win32. First, I created a win32 project (a simple Win32 Project - not empty). I don’t modify any code compile when compiler says: Cannot find windows.h. So …

Member Avatar for Clawsy
0
350
Member Avatar for luckyads

Hi All, I want to pass an id via querystring from a hyperlink in a datagrid. How can I do it? I wrote the following, but got an error "The server tag is not well formed" [code] <asp:HyperLink [B]NavigateUrl="~/users/matrix.aspx?Exercise=<%# DataBinder.Eval(Container.DataItem,"hid")%>"[/B] Text="Link" id = "lnkLink" runat="server"></asp:HyperLink> [/code] Please help! Thanks in …

Member Avatar for luckyads
0
454
Member Avatar for toadzky

I have a combobox that has state abbreviations. It is filled from a dataset table, which is read in from an xml file. The combo box populates just fine. I want the selected value and text to change when I load a record from an accounts table in the dataset. …

Member Avatar for toadzky
0
134
Member Avatar for nicolap

Hi, I'm working on a C++ project and in a menu I want the user to choose 1, 2, 3 etc... integer number. If they input a float i.e. 1.2 I want the code to tell them they've entered something invalid, rather than just rounding it down to 1. how …

Member Avatar for vmanes
0
209
Member Avatar for gooddevilgod

HI, Today is my first day at this wonderful forum.I wanted to ask How to : Make a class globally accessible to all the classes ?I come from the C back ground so I am thinking like this -- I want to use the class (say classGlobal) from the other …

Member Avatar for JerryShaw
0
289
Member Avatar for tintincute

Hi I created a simple code here just to play C# around. It has 3 buttons and 1 panel. If you click on the 2nd & 3rd button the panel height changes. Is that also possible to change the color? For example : If I click on the 2nd button, …

Member Avatar for Narue
0
131
Member Avatar for faniryharijaona

I've got this strange problem, I created an instance called structure, I made a function which return an object of this type. Just before returning, I print it, it gives me the right object. Now when I collect it in 'main' and print it, it becomes 'None'. If someone can …

Member Avatar for faniryharijaona
0
78
Member Avatar for Ko Thu
Member Avatar for BestJewSinceJC
0
53

The End.