Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Confused and missing with this simple code, need with database code?

Above Image is my Application Snap, Im Creating Project of TV Brands Prise Listing and Invoice Generation, This is my Code on MouseMove Events, Im trying Retrive Prise automatically from the above all...

View Article


Pointer to a local variable

Hi all, I have a coding guideline that I need to avoid using dynamic memory allocation. In stead of it, I do things like this: typedef struct { u32 id; .... } A; void test() { A instance; A* pinstance...

View Article


Simple Addition (Console)

Module Simple_calc Sub Main() Dim num1, num2, sum As Integer Console.Write("Enter First Number: ") num1 = Console.ReadLine() Console.Write("Enter Second Number: ") num2 = Console.ReadLine() sum = num1...

View Article

Label matrix align

Hello guys. I have an 2D array ( n x m ) with int values. Each line I transform it into a string, and I'm trying to align them correctly. Everything it's ok when all elements has same size ( 1, 5, 3;...

View Article

Image may be NSFW.
Clik here to view.

Confused and missing with this simple code, can solve using database

Above Image is my Application Snap, Im Creating Project of TV Brands Prise Listing and Invoice Generation, This is my Code on MouseMove Events, Im trying Retrive Prise automatically from the above all...

View Article


Deleting node from linked list

Hi people. Nice to meet you. I'm trying to do the following assignment from Robert Sedgewick's book: QuoteWrite a method delete() that takes an int argument k and deletes the kth ele- ment in a linked...

View Article

How to call listview Itemactivate event from a form load event?

I have a frmChoseArticle with a listview. I fill the listview programatically and then check if the items in it are one or more. When the listbox items are more than one I simply activate the right...

View Article

Array problem

Hi everyone, first of all sorry for my english and thank you for the responses. I'm a new programmer in c#. At the moment I'm busy with arrays. A month ago, I create a program, where the user has to...

View Article


Mixing jquery with PHP

I have a jquery calendar in my cakephp application with <?php //foreach ($mealplans as $mealplan){ ?> { title: '<?php echo $mealplan['Mealplan']['event_name'] . ", "....

View Article


Hey m having problem with value member of combobox ....

This is my code :- Dim query As String Dim ds As New DataSet Dim dt As New DataTable Connect.con = Connect.openconnection query = "Select UserId,UserName From UserMaster" Dim da As New...

View Article

cast error when accessing map<pair<int,int>,bool[4]>

I'm trying to set up a data-structure that can access and add arrays of four booleans when given a two-dimensional coordinate in the form of pair<int,int>. code: #include <map> #include...

View Article

need help understanding level file

I'm reading this slick 2d tutorial: http://slick.cokeandcode.com/wiki/doku.php?id=03_-_slickout In the section : " Level structure on the file " you can see, that the author shows this type:...

View Article

What is the different between two Class in different package

When I create a Object of Class B in Class a ( two class different package ). I assign a value for field. It raise an error If i don't change attribute public for the field in template Class. Here i...

View Article


C# Ctrl + Esc disabled but cannot enable the Esc key

I have following the function which disables windows key, alt-tab, alt+esc, ctrl+esc etc: public static int HookCallback(int nCode, int wParam, ref KBDLLHOOKSTRUCT lParam) { bool blnEat = false; switch...

View Article

Image may be NSFW.
Clik here to view.

Data won't save to database, C#

Hi, with your previus help, I managed to get most of the things sorted out. now there is a problem with my DataGridView. When I update row in DataGridView, it stays there until i close the program, so...

View Article


looping array issue

I have an array of objects and I am trying to change the values based on the the objects position in the array. This is a simplified version of my order_table array. Array ( [0] => stdClass Object (...

View Article

Problem: passing a vector of struct by reference

Hi! I would like to use my vector in a function but the function caller shows that there is a problem. I don“t really know how I can fix this. Thanks for any idea. Declaration of struct and vector:...

View Article


Why we don't use " this.field" in here

I have a code in here. public class PersonalDetails { private String name; private int age; private String gender; private String qualification; public PersonalDetails(String name, int age, String...

View Article

Sending e-mail not working

I am new with PHP and MySQL. And for the sake of everything, I have been looking up tutorials to guide me step by step. With the Registration system that requires the user to validate the email address...

View Article

Python graphics with pygame and livewires

Hi i'm new to this and i'm learning from an ebook i tried this code but it didn't work i've been unable to find and fix the problem. from livewires import games, color SCREEN_WIDTH = 640 SCREEN_HEIGHT...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>