by: Metzen |
last post by:
hello,
ok, I want to find the length of an int array that is being passed to a function:
main()
{
int array={1,2,3,4,5,6,7,8};
function(array);
}
function(int *array)
{
|
by: bob |
last post by:
sorry to double, triple post but
testFile.txt has 28 character (what editor says anyhow): "nothing here,
see I'm empty"
how can I get the size of this 'buffer':
FILE *filestream;...
|
by: Mateo |
last post by:
I have char *array and it is dinamically alocated....
When I pass it to other function, I need to determine size of this array....
Problem: sizeof operator does not work with dinamically alocated...
|
by: ballpointpenthief |
last post by:
If I have malloc()'ed a pointer and want to read from it as if it were
an array, I need to know that I won't be reading past the last index.
If this is a pointer to a pointer, a common technique...
|
by: Abhishek Srivastava |
last post by:
Hi,
Somebody recently asked me to implement the sizeof operator, i.e. to
write a function that accepts a parameter of any type, and without
using the sizeof operator, should be able to return...
|
by: shaanxxx |
last post by:
I have following programme:
#include<stdio.h>
int main()
{
int i=1;
char *ptr=(char *)&i;
if (*ptr)
|
by: Alex Vinokur |
last post by:
Does it have to be? :
sizeof (size_t) >= sizeof (pointer)
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
|
by: arnuld |
last post by:
sizeof() operator gives 2 different types of size outputs :\ but I do not
understand why:
#include <stdio.h>
#include <stdlib.h>
int my_size( char );
|
by: Faisal |
last post by:
Hi,
Why C++ doesn't allow overloading of size of operator. I think it
would be much handy to check the type userdefined types.
For eg. In my project, I've some structures which contains...
|
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: 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: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|