by: Charlie |
last post by:
Dear all,
I am stuck on this problem, couldn't find an answer on any C++ book in
the bookshop.
Following is a cut of my program, and its error message:...
|
by: Ramprasad A Padmanabhan |
last post by:
Hello all,
On my linux box ( redhat 7.2 ), I have been using char as a boolean data
type. In order to save on the number of bytes as compared to using int
or short int.
typedef char boolean;...
|
by: Conan1st |
last post by:
Hello everyone!
I made a variable under unsigned short but displaying it using char the
value that doesnt change in fact is shown changed...
unsigned short a
a = 321;
|
by: Andrea Williams |
last post by:
I used to program with VBS and I'm used to allowing multiple cases in one
CASE line. Anyway to do that C#?
VB Example:
Select Case (lngStatus)
Case 1,2,3
'do something
Case 4
'do something
|
by: shalakasan |
last post by:
Hi,
I am creating a pointer to char:
char * lDirName = new char;
I am trying to set values character by character.
lDirName= 'c';
lDirName= ':';
lDirName= '\\';
The problem is that, the...
|
by: Amanda |
last post by:
If I do this, i get complaints saying that || cannot be used for char
and bool. Any help?
// options will be a,b,c,or e
do
{
Console.Write("Enter a selection from the following
list:\n" +...
|
by: huzzaa |
last post by:
I am using a switch statement that will decide from a random number what message to display.
I want the random number to be between 0 and 100 and then if the number is say between 1 and 10 to...
|
by: tonesgirl85 |
last post by:
I need some direction to know if I am on the right track. Please contique program below.
import java.util.*;
public class Roman
{
static Scanner console = new Scanner(System.in);
|
by: asincero |
last post by:
Which is better: using an if/else construct to simulate a C switch or
use a dictionary? Example:
def foo():
if c == 1:
doCase1()
elif c == 2:
doCase2()
elif c == 3:
doCase3()
|
by: Brice Rebsamen |
last post by:
Reading the code from showkey.c (from package kbd) I found this type
of code:
char *m;
m = "RAW";
See below for the complete code. How can this work? I would have used
strdup, or allocation...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|