Member Avatar
#include <iostream> #include <cstdlib> #include <new> using namespace std; void memwarning(); void* operator new(size_t, int); void operator delete(void*); int main() { char*p = new('$')char[100]; //Query 4b cout<<endl<<"First allocation: p = " <<hex<<long(p)<<endl; // Query 1 for(int i=0;i<100;i++) cout<<p[i]; cout<<endl; delete p;// Query 2 p=new('*')char[64000u]; // Query 3 delete p; return …
by surfingturtle in Software Development ()
Member Avatar
I am trying to have a textbox set up where multple texboxes are used in teh layout of a table, each one as a seperate box in. (I havn't got the exact size figured out yet but for the sake of testing i've been usieng a layout of 2 rows …
by Matthew_15 in Software Development ()
Member Avatar
Hello, I was able to show the notepad in the Winform by using a panel and inserting it in the form like this code below and using SetParent API: [DllImport("user32.dll", SetLastError = true)] static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent); Process proc = Process.Start( new ProcessStartInfo() { //here I put …
by Jim_11 in Software Development ()
Member Avatar
I am looking for a good program for keyword research and to automate some of my SEO efforts. Can anyone recommend a good program for this?
by Jordan_5 in Search Engine Strategies ()
Member Avatar
Can someone give me some programming ideas to keep my knowledge up-to-date? I received a masters degree in computer science back in December and been job searching since then. I want to tell an employer something.
by Chris_38 in Software Development ()
Member Avatar
Hello Friends, Thanks for helping me for my last queries. Right now I am facing problem on how to implement Auto Update function for my WPF Desktop Application. team decided to use NetSparkle rather than ClickOnce. Any One have Information and Detail about how to use NetSparkle. Please give me …
by Gopal_4 in Software Development ()
Member Avatar
how to combine mp3 and mp4 using algorithm
by ridwan_1 in Software Development ()
Member Avatar
Hello, im working with Arduino UNO and im triying to get temperature and pulse from two sensors and send it to a data base. Mi problems when im triying my code is that: exit status 1 'interruptSetup' was not declared in this scope and my code are: #include <DHT.h> #include …
by Raul_4 in Software Development ()
Member Avatar
Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: http://www.daniweb.com/software-development/cpp/threads/242338 My situation is a bit different because I HAVE to use a combination of functions and a class in the …
by Tom_15 in Software Development ()
Member Avatar
I need help getting my neighborcount function to work correctly, as follows neighborCount:Given two arguments that indicate the row and column of a particular cell in the matrix, this function returns the number of neighbors that have the value "true". Most positions in the grid have 8 neighbors like the …
by Tom_15 in Software Development ()
Member Avatar
Hello, I need to keep the exe's window (for example Notepad) always on the foreground of the form, it means that even if we click on the form , the exe's window will always be ahead of the form.In other words,I have a button which when we click on it, …
by Jim_11 in Software Development ()
Member Avatar
I need help inserting the assert function within my code, and creating the neighborcount function as listed below, heres the guidelines: default constructor: initialize all of the array elements to false get: return the current contents of a single array element. Use arguments to indicate the row and column of …
by Tom_15 in Software Development ()
Member Avatar
hey there i'm stuck in this particular problem. the table in my rdlc report doesn't update. i have updated my table in database but when it comes to the rdlc report the table doesn't update. any suggestions? im using vb 2010 by the way with ms access as database
by Jann_2 in Software Development ()
Member Avatar
hey there guys. I want to know how to Print the data from a listview into a receipt. I have found a question here which solves the printing but it only prints the listview items and not the other texts from the Receipt Form. Like the Header and total amounts …
by Jann_2 in Software Development ()
Member Avatar
Hello I am almost finished with my assignment but I just need it to do the math correctly and I need help!!! I can easily do the problem on paper just fine however I can't get Netbeans to create the right answer. Here is the problem I need it to …
by Yuna_1 in Software Development ()
Member Avatar
Hey there! I want to add rows of data in my listview from a database but I want to add only those items I chose then after listing all my items of choosing that is the time for me to save it to a table in databox. is there anyway …
by Jann_2 in Software Development ()
Member Avatar
Hello, I am doing an application in C# but I have a problem. I need to show the volume status of the computer. I created two pictures to show if the volume is muted or not. I found this code but I get errors: MMDeviceEnumerator devEnum = new MMDeviceEnumerator(); MMDevice …
by Jim_11 in Software Development ()
Member Avatar
Hi, i have two tables in mysql. Tbl1 - lets call it {$tbl_p} has product_id and tax_id fields. Tbl2 - lets call it {$tbl_c} has product_id and tax_id_w fields. Tbl1 needs to be updated (only tax_id field) from Tbl2 based on values of tax_id_w field. But, tax_id_w field in tbl2 …
by bprosic in Software Development ()
Member Avatar
Write a program in C++ to prepare a frequency distribution table of the percentage marks in Computer studies of sixty students, to be taken as inputs, into the following categories Category Marks(%) Fail 0-34 Pass 35-59 Good 60-79 Very Good 80 and above
by sam_21 -6 in Computer Science ()
Member Avatar
Hello. Im doing some practice questions and Im kinda stuck. So basically I have three Jbuttons: "Menu", "Left" and "Right", a JTextField : "tDisplay" and an array : status. code (dummy code for example): String[] status = {"hello","goodbye","goodnight","goodmorning"}; what needs to happen is when Menu is clicked Hello is displayed …
by nadiam in Software Development ()
Member Avatar
write a c++ program that asks user to insert 2 numbers
by amanueal in Programming ()
Member Avatar
I'm newbie to vb.net. Now I'm on report viewer component. I'm just trying to generate reports. It's okay with select data from one data table of mysql. But now I trying it advanced. I try to generate report data from two data tables. This is query I tried. It show …
by සශික in Software Development ()
Member Avatar
There is a problem of facility location that I solve with genetic algorithms. I can get good results. So I would like to compare my genetic algorithm complexity O(n^2) with the brute force algorithm. But I am not getting an answer. (n = number of individuals in my population, usually …
by quatrosem in Computer Science ()
Member Avatar
heY, I need help.... I want to know about concept of combination between software and database on enterprise level software. Recently I develop software using vb.net. Then I install mysql and connect these two software. But this isn't the way enterprise level software. Ex : In Quick Book Accounting package …
by සශික in Software Development ()
Member Avatar
I want to know about develop vb.net project by LAN users... I Find about this internet and I couldn't find..... Please give me steps to do that ....
by සශික in Software Development ()
Member Avatar
I'm just trying to insert some more informations to mysql table. I used recently methods. But it won't help me. so if you can help me ? my code is below : Try Dim mstream1 As New System.IO.MemoryStream() Add_House.pic1.Image.Save(mstream1, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage1() As Byte = mstream1.GetBuffer() mstream1.Close() Dim mstream2 As …
by සශික in Software Development ()
Member Avatar
Hi there! I am having trouble figuring out what is wrong with my code also I'm kinda new to Python. I'm trying to get variables to one class to another class then return it back. Here is my code: from tkinter import * from tkinter import ttk class Logic: def …
by Regan_1 in Software Development ()
Member Avatar
Can anyone help me out with this program import java.util.Scanner; public class Quadratic { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Enter three coefficients for a quadratic equation: "); double a = sc.nextDouble(); double b = sc.nextDouble(); double c = sc.nextDouble(); if (a == 0.0) System.out.println("Error: …
by Ankit_22 in Programming ()
Member Avatar
Hi, so I'm trying to create a Java program that will read a Java file that is incorrectly formated and properly indent and format it. This is what I have so far. import java.io.*; import java.util.*; public class Project3 { public static int SPACES = 0; public static void main(String[] …
by Brian_18 in Software Development ()
Member Avatar
Suppose if I am working out with a simple basic coding to write a C# program for odd even number. But I am stuck at the step as to how i can re-enter input while i am converting a string into integer at one place.
by makaijohn9 in Programming ()