199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for martinandrade

I have an assignment due tomorrow and I haven't being able to do it. I do not understand nothing about classes and when to use them. My assignment is: (Account Class) Modify class Account (Fig L 3.1 and Fig L 3.2) to provide a member function called debit that withdraws …

Member Avatar for martinandrade
0
952
Member Avatar for vivek.vatts007

Hi all I am Vivek Bhola, working C#.net. I am trying to invoke a unmanaged code function in c#code. This function has prototype like: public static extern int SsmRecToFileA(int ch, string pszFileName, int nFormat, int dwStartPos, int dwBytes, int dwTime, int nMask, LPRECTOMEM pfnCallbackA); here pfnCallbackA is pointer to a …

Member Avatar for tamw
0
763
Member Avatar for Jaysmi23

VB.NET 2008 Express, ACCESS Db 2007 Ok I have a program that contains a datagridview control linked to a database and i want to be able to search through every field via a ButtonSearch for a match of the search term - search term is entered in a text box …

Member Avatar for Jaysmi23
0
289
Member Avatar for fallopiano

hi everyone. just recently I've been messing around with controlling itunes with python (you should check it out on google; some pretty fun stuff to mess with :D). I've already got all of my functions down, but my questions is that how would I go about grabbing keyboard/mouse input (mouse …

Member Avatar for fallopiano
0
328
Member Avatar for genieuk

Hi, I hope someone can help me. My site been using cookies and i have decided to scrap cookies after finding to many security holes which i myself was able to hack in testing. I have looked online and found nothing that is want i am after even my php …

Member Avatar for genieuk
0
243
Member Avatar for Eko

Hi guys , In Visual Studio 2005 I compiled the following code [CODE] int main() { float a; a=0.1; if(a<0.1) { printf("C\n"); } else { printf("C++\n"); } } [/CODE] I was very surprised when I saw the output C++ . I got the warning C4305 :" '=' : truncation from …

Member Avatar for dwayneb
0
5K
Member Avatar for ubuntuubuntu

Hello, I have a program, let's say foo.cpp . If I do "g++ -S foo.cpp". That generates the file "foo.S" with assembly code. I would like to compare the assembly code foo.S with the assembly code generated if I put foo.S in a c program (even though there should be …

Member Avatar for gerard4143
0
356
Member Avatar for Ilija

Hello. I`ve been given to make a program for math.After checking it.. it confuses me.I`ve been searching for a solution about my program.I hope u`ll help me with this program.

Member Avatar for mrnutty
0
65
Member Avatar for AutoPython

I'm having a problem sizing down this block of code: [CODE] if POS == 1: POS1 = "->" else: POS1 = " " if POS == 2: POS2 = "->" else: POS2 = " " if POS == 3: POS3 = "->" else: POS3 = " " if POS == …

Member Avatar for AutoPython
0
148
Member Avatar for garyhumf

I have placed a dropdown list in the edititemtemplate of a formview control and followed specific MSDN instructions on how to bind the list source to a separate SQL lookup data source but have the formview bound to the main data source. If I set the selecteditem value to bind …

Member Avatar for garyhumf
0
540
Member Avatar for Ranek

So, i'm working on creating a very basic currency converter from Pounds to Euros or Euros to Pounds. It takes the exchange rate from the user then asks which way to convert. Then asks the amount of currency. This was easy for me to do in just one main class, …

Member Avatar for Ranek
0
4K
Member Avatar for MrNoob

hey i m reading about pe format but there something that i don't get RVA in documentation it says it just like a temp for addressing memory in other sections ok and it's just a DWORD what if there are many temperoralily variables wouldnt that overflow the that RVA value …

Member Avatar for MrNoob
0
479
Member Avatar for daviddoria

I am looking at some open source code and I am a bit confused. There is an Allocator class: [code] class Allocator{ [/code] Then in another class, they have: [code] class Octree{ public: static Allocator<OctNode> Allocator; [/code] When trying to compile, I am getting: [code] error: declaration of 'Allocator<OctNode<NodeData, Real> …

Member Avatar for StuXYZ
0
108
Member Avatar for mldardy

I am having a problem with the code below especially bolded part. I have built a shopping cart page where if they select the item 'Real Estate Forms 2d' there will be a sales tax added for that item. If they select any other item they will not have a …

Member Avatar for guru_sarkar
0
126
Member Avatar for surfer2009

i am doing a problem . take character dynamic of size 10.when user enter 11th element.it increment the array size to 20. when user enters 21st element array size increases to 30 and so on int main(){ char *p; p=new char []; int size; for(int i=0 ;i<10; ++) cin>>p; size=strlen(p); …

Member Avatar for mrnutty
0
106
Member Avatar for Mensa180

Hello! I've been messing with tkinter and now have tried to make a MPG calculator using sliders. My problem is that no matter how I move the sliders it does not update the mpg, I'm not sure what to tell the label to do for it to update. I know …

Member Avatar for Mensa180
0
117
Member Avatar for ilokana

Can you divert one database to another database if the former has crashed? My site crashed and would like to have a backup database if this happens again (hopefully not!). Thanks.

Member Avatar for SoN9ne
0
72
Member Avatar for george21

I need to display the loan table with the annual interest rate, monthly payment, and total payment for the number of years entered. When I run my program, it only displays the info for 8%, when I need to display all interest rates from 5% to 8% in increments of …

Member Avatar for BestJewSinceJC
0
111
Member Avatar for shahab03

hi.. can someone help me with this question Write down a sequence of instructions that would implement the synthetic instruction addd $t0,$t2 to produce a double precision sum (i.e. 64-bit sum) of two unsigned 64-bit integers. The first 64-bit integer is in the register pair $t0 and $t1, while the …

Member Avatar for shahab03
0
101
Member Avatar for kenmeck03

I need to prompt a user to type in a text file name and then take that file and and count the amount of words in the file. I have this code which counts the words in a file(that may not be "perfectly" written). I cannot figure out how to …

Member Avatar for bumsfeld
0
126
Member Avatar for jupitertrooper

Ok, I am newish at programming in c++ and am doing a computer science program in school. For my latest project I have come to a bit of a dead end and was hoping for some help with loops and ignoring characters. The program is quite simple, it is a …

Member Avatar for jupitertrooper
0
132
Member Avatar for wotthe2000

Hi How do you find out the first letter or number of string in a list? I have a list and I want to find whether any of the strings in the list start with a capital or little C. The code I have is: [ICODE] def isCMD(self): for word …

Member Avatar for bumsfeld
0
2K
Member Avatar for ujjwalgoody2

the question is: there is no zero in the number system.there are separete characters denoting ones,tens,hundreds, thousands, ten thousands.....etc... I for one(its a vertical line and not 1) n for ten 9 for hundred 8 for thousand r for ten thousand (the actual egyptian hieroglyphys were more picturesque but followed …

Member Avatar for Tom Gunn
0
150
Member Avatar for rsk_beckon

Dear All I want to develop an application to compare 2 input text file and show the difference with highlighted text in the first file itself. Please assist how to do it Or any readymade software is there for effective file comparison. Regards Sasikumar

Member Avatar for debasisdas
0
154
Member Avatar for txwooley

I am making a poker game using pyGTK. My problem right now is that the other players won't let me play! Each player has a function for betting and they go in order such as amandaBet(), playerBet(), billBet()... where player is you. Since this is a GUI game, I am …

Member Avatar for txwooley
0
276
Member Avatar for coollife

dim hwnd as long I am using FindWindow function to find whether Internet Explorer is open or not . hwnd = FindWindow(vbnullstring,"Google - Microsoft Internet Explorer") the problem is it easily find most of the windows , but in few cases for example if i type something in google search …

Member Avatar for marco93
0
124
Member Avatar for Kandeep

#include<stdio.h> main (){ double I; printf ("Enter the value : "); scanf ("%lf",&I); while(I<=0){ printf("**Value must be greater than 0.0\n"); printf("**Try again. : "); scanf ("%lf", &I);} WHAT DO I HAVE TO ENTER HERE? printf(" I is %lf\n", I); }[code]Hi! I create a code so that it checks if the …

Member Avatar for csurfer
0
126
Member Avatar for sugumarclick

Hi all I like to display the next and previous content's teaser for every node in drupal(PHP CMS) . .Is there any module available for this issue.. next and previous content's teaser should be of the same taxonomy of same content type.. Suppose if i a news is displayed in …

Member Avatar for sugumarclick
0
128
Member Avatar for facadie

Hi I'm new to asp.net I'm using a login view as a login view but has converted to just a template. and I have a problem that how come when i view in browser it already log in as my laptop user account. how can i make it the way …

Member Avatar for guru_sarkar
0
113
Member Avatar for kohkohkoh

i have an assignment to do but i'm still not good at c++programming.. the question is: -------------------------------------------------------------------------- Write a program in C++ that allows users to play the game of Hangman. The program stores a series of words in a file called words.txt, and randomly chooses one word to be …

Member Avatar for C++NO
0
2K
Member Avatar for adam1991

Ive just created a login system using a tutorial, but it doesnt say how to protect the admin page, just logs you in.. Here first is my HTML, Login form [CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="login" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> …

Member Avatar for guru_sarkar
0
115
Member Avatar for CelestialDog

Hi all, I have a problem where i want two images loaded as backgrounds for seperate divs on my master page. I have created a seperate stylesheet and used the appropriate background-image: url() style tag. All the other css styles i set such as border size, color and so on …

Member Avatar for guru_sarkar
0
91
Member Avatar for xirosen
Member Avatar for chrisname

Hi :) I'm trying to get the vendor ID using the CPUID opcode. Again, this is inline ASM with C; but it's the ASM that I need help with. The C is fine AFAIK. I'm not sure if it's the way I'm trying to do this, or if my CPU …

Member Avatar for chrisname
0
233
Member Avatar for Afi83

Hi there I have a database in access for using from VB6. In my access file I use many relationships. I use something for doing back up of my database frequently for preventing data loss. Every year many data added to this database (app50000). For maintaining the program at the …

Member Avatar for omoridi
0
180
Member Avatar for toad78

I would like to convert information from a MySQL dbase table to PDF, but only certain columns within the table. I've heard about many PDF class programs, but the people who've recommended them can't seem assist me with using the program. I may be a novice with PHP, but would …

Member Avatar for diafol
0
130
Member Avatar for xirosen

Good day.. Can everyone help me pls.. i have created a code to create nodes in treeview and i am done with this. my problem is how can i view children's text on the treeview as well as the image when i click the parent? here is my code. Private …

Member Avatar for omoridi
0
184
Member Avatar for avirag

Hi!!! I have made a window application Form in which there is a textbox in which I am entering string of data. Also there is a toolbar for entering symbols which are not present on keyboard. Now for entering each symbol in textbox i have used :[CODE]textBoxEquation.AppendText("÷"); this.textBoxEquation.Focus();[/CODE] but problem …

Member Avatar for Geekitygeek
0
193
Member Avatar for coollife

My project is Internet Explorer Blocker which blocks all websites apart from what i have mentioned . Its working fine, now as the user should not be able to close the vb application For that to happen the application should not be visible . So for the what is the …

Member Avatar for omoridi
0
229
Member Avatar for Stefano Mtangoo

Hi all, I plan to make a PRACTICAL dictionary and need help on just ideas. basically you can use dict datatype for simple dictionary and use dicy->key to retrieve but does that work for larger data queried from database? Or should I implement a database of key --->value? Any Idea …

Member Avatar for Gribouillis
0
184
Member Avatar for jatinder_44
Member Avatar for omoridi
0
97
Member Avatar for gothic1989

hi everyone!! im ren, im in my 4sem. and i required to make a project in my major. using VB6.. and that was supposed to be cafe client/server. can someone help me how to make a cafe client/server? im just a newbie in VB6 so i don't have any idea …

Member Avatar for omoridi
0
74
Member Avatar for Harssh

Hi I am working on Public library project I want To make a print of receipt of new membership or book purchase report . Help me please send code or atleast code snippets of receipt generation and print

Member Avatar for harshitkamdar
0
327
Member Avatar for BattlingMaxo

I want to make my characters move in realtime with NO pre-existing animation. The characters will move according to what is in front of them or if a enemy enters, etc. Are there any examples of this? Battlingmaxo

Member Avatar for BattlingMaxo
0
104
Member Avatar for Web_Sailor

I am able to build a logic which does exactly how I want it to work but when I add more records there are some problems in flagging. Here is the example:- when my input is : [CODE] mymm.insert(pair<char,int>('a',50)); mymm.insert(pair<char,int>('b',100)); mymm.insert(pair<char,int>('b',150)); mymm.insert(pair<char,int>('b',200)); mymm.insert(pair<char,int>('c',250)); mymm.insert(pair<char,int>('c',300)); mymm.insert(pair<char,int>('d',300));[/CODE] output is correct :- [CODE]single …

Member Avatar for dkalita
0
123
Member Avatar for shuchi.vishnoi

There is a jsp page on which I have to access the selected value from a dropdown list and then compare it's value with the field 'role' stored in mysql database. I have to comapre both values to authenticate the user. I can access the role from dropdown list but …

Member Avatar for Thirusha
0
173
Member Avatar for daviddoria

I am trying to compile some code (Example.cpp from here: [url]http://www.rpi.edu/~doriad/Daniweb/maxflow/[/url]). I am getting [code] Example.cpp:(.text+0x38): undefined reference to `Graph<int, int, int>::Graph(int, int, void (*)(char*))' [/code] This is clearly a template instantiation problem. I see that there is a file called instances.inc that defines the <int,int,int> class, do I need …

Member Avatar for dkalita
0
394
Member Avatar for bvaz

I know this must be simple because I cannot find a reference to it. I would like to use javascript to load the background-color value of a table row into a css file. The background will vary depending on which menu option is chosen. To hopefully clear this up, the …

Member Avatar for bvaz
0
100
Member Avatar for fawadkhalil

Hi I have an image converted to binay and saved in SQL database. Below is my line of code where application is throwing above exception that im using for showing image [CODE] Dim mem As New IO.MemoryStream(CType(io.File.ReadAllBytes(imgfilepath), Byte()))[/CODE] Does anybody knows how can i fix this? Thanks and regards, f

Member Avatar for fawadkhalil
0
120
Member Avatar for locked_twilight

This is a working program. But there is a logical error. Try this with the calculator: Press 2,M; Press R,*,2; Press R,*2; The output in the same order must be: 2 2*2 = 4 2*2 = 4 but the third one outputs 88 instead. M stands for Memory, it stores …

Member Avatar for locked_twilight
0
147

The End.