We're a friendly, industry-focused discussion community of 1M+ developers and IT professionals learning and sharing knowledge. Ask us a question …

Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it … Article by can-mohan in Software Development
c c++
Your code can fail. Why not use sizeof()? It's standard and while I can't guess why your setup doesn't have uint16_t and I can't find what compiler you are using (hint!) there is a standard way to check.
Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it … Article by can-mohan in Software Development
c c++
> guys what do u suggest about unsigned short as it is also equilent to uint16_t (0-65535) No, it's NOT equivalent. uint16_t is ALWAYS 16 bits. unsigned short is not always 16 bits. I mentioned that earlier. In put a bunch of qualifiers on the rest of my earlier post …
Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it … Article by can-mohan in Software Development
c c++
Your code can fail. Why not use sizeof()? It's standard and while I can't guess why your setup doesn't have uint16_t and I can't find what compiler you are using (hint!) there is a standard way to check.
Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it … Article by can-mohan in Software Development
c c++
guys what do u suggest about unsigned short as it is also equilent to uint16_t (0-65535)as we don't have uint16_t convention in our code. Please suggest otherwise will go for below approach with simple integer.i beleive this way we can also validate if somebody is trying to store beyond 2 …
Member Avatar
10 Replied To a Post in Specified Cast not Valid LinQ
Hi all I'm new using LinQ. Im having Specified Cast not Valid in this Function. Hope someone let me know what I'm doing wrong. this is the Function Private Function GroupedBy() As DataTable Dim Sales As New ds_Sales_OELI Dim dt As DataTable = Sales.Not_SCheduled GroupedBy = New DataTable Dim dr … Article by VIPER5646 in Software Development
It's in this Line .cab1 = G.Sum(Function(inpro) inpro.Field(Of Integer)("CabCat1")),
Member Avatar
Began Watching
I find the inability to make multiple playlists too limiting in this otherwise wonderful program. What is the next best program just for viewing movies in many formats that supports multiple playlists? I am willing to pay a reasonable amount. Thanks. Article by JacobBrown in Mac OS X
Member Avatar
Replied To a Post in Alternative to VLC?
I find the inability to make multiple playlists too limiting in this otherwise wonderful program. What is the next best program just for viewing movies in many formats that supports multiple playlists? I am willing to pay a reasonable amount. Thanks. Article by JacobBrown in Mac OS X
smplayer. With the default mplayer backend it's comparable to VLC minus a few edge features like YouTube playback; the mpv backend adds those and more.
Member Avatar
Began Watching
How can i write comment in professional way to explain my code Article by farag in Software Development
c++
Member Avatar
Replied To a Post in Code Comment
How can i write comment in professional way to explain my code Article by farag in Software Development
c++
[Gejala Stroke](http://gejalastroke.tasikstore.com/) ringan dan cara menanganinya secara alami harus diperhatikan selalu secara serius , karena saat ini kasus penyakit stroke banyak terjadi dikalangan masyarakat dari mulai stroke ringan hingga stroke berat. Meski yang dialami masih gejala stroke ringan tapi penanganannya harus secara tepat karena bisa berakibat fatal jika tidak diatasi …
Member Avatar
Began Watching
Hi Everyone, I am very new to web design and just starting to get the basics of CSS and html. Designing is so much fun! My site includes articles and I thought it would be cool to include a comment box. Before coming here I have read many many posts … Article by zeplin in Web Development
php
Member Avatar
Replied To a Post in Comment Box
Hi Everyone, I am very new to web design and just starting to get the basics of CSS and html. Designing is so much fun! My site includes articles and I thought it would be cool to include a comment box. Before coming here I have read many many posts … Article by zeplin in Web Development
php
[Gejala Stroke](http://gejalastroke.tasikstore.com/) ringan dan cara menanganinya secara alami harus diperhatikan selalu secara serius , karena saat ini kasus penyakit stroke banyak terjadi dikalangan masyarakat dari mulai stroke ringan hingga stroke berat. Meski yang dialami masih gejala stroke ringan tapi penanganannya harus secara tepat karena bisa berakibat fatal jika tidak diatasi …
Member Avatar
can anyone help me how to add a comment box in HTML? I'm new to html and I don't have any idea how to do it.. please help me Article by jekMCMXC in Web Development
Member Avatar
can anyone help me how to add a comment box in HTML? I'm new to html and I don't have any idea how to do it.. please help me Article by jekMCMXC in Web Development
[Gejala Stroke](http://gejalastroke.tasikstore.com/) ringan dan cara menanganinya secara alami harus diperhatikan selalu secara serius , karena saat ini kasus penyakit stroke banyak terjadi dikalangan masyarakat dari mulai stroke ringan hingga stroke berat. Meski yang dialami masih gejala stroke ringan tapi penanganannya harus secara tepat karena bisa berakibat fatal jika tidak diatasi …
Member Avatar
Began Watching
Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the … Article by Violet_82 in Web Development
php
Member Avatar
Replied To a Post in Comment box
Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the … Article by Violet_82 in Web Development
php
[Gejala Stroke](http://gejalastroke.tasikstore.com/) ringan dan cara menanganinya secara alami harus diperhatikan selalu secara serius , karena saat ini kasus penyakit stroke banyak terjadi dikalangan masyarakat dari mulai stroke ringan hingga stroke berat. Meski yang dialami masih gejala stroke ringan tapi penanganannya harus secara tepat karena bisa berakibat fatal jika tidak diatasi …
Member Avatar
Joined the Community
Member Avatar
Sponsored 2,418 Replied To a Post in Memorable Quotations
Once harm has been done, even a fool understands it. -- Homer Article by vegaseat in Community Center
The prolem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. Charles Bukowski
Member Avatar
325 Gave Reputation to in Specified Cast not Valid LinQ
Hi all I'm new using LinQ. Im having Specified Cast not Valid in this Function. Hope someone let me know what I'm doing wrong. this is the Function Private Function GroupedBy() As DataTable Dim Sales As New ds_Sales_OELI Dim dt As DataTable = Sales.Not_SCheduled GroupedBy = New DataTable Dim dr … Article by VIPER5646 in Software Development
Yes, but could you specify where? Knowbody is going to help you with posting a blob of code and saying I have an error.
Member Avatar
2,418 Replied To a Post in Specified Cast not Valid LinQ
Hi all I'm new using LinQ. Im having Specified Cast not Valid in this Function. Hope someone let me know what I'm doing wrong. this is the Function Private Function GroupedBy() As DataTable Dim Sales As New ds_Sales_OELI Dim dt As DataTable = Sales.Not_SCheduled GroupedBy = New DataTable Dim dr … Article by VIPER5646 in Software Development
Yes, but could you specify where? Knowbody is going to help you with posting a blob of code and saying I have an error.
Member Avatar
Joined the Community
Member Avatar
Well i use Dev-c++ 4.9.9.2 for programming..i m using it from last two years...recently i learned java and saw that all java programs are run through command prompt. I tried tha same in c++. i saved my program in dev-cpp/bin .but i am not able to do this..what is the … Article by rajatC in Software Development
c++
Firstly, set PATH variable to bin of dev-cpp Then in the same folder where .cpp program is, use following: compile > g++ -Wall -o file file.cpp run > file run with command line arguments > file cmd1 cmd2
Member Avatar
Well i use Dev-c++ 4.9.9.2 for programming..i m using it from last two years...recently i learned java and saw that all java programs are run through command prompt. I tried tha same in c++. i saved my program in dev-cpp/bin .but i am not able to do this..what is the … Article by rajatC in Software Development
c++
Member Avatar
Well i use Dev-c++ 4.9.9.2 for programming..i m using it from last two years...recently i learned java and saw that all java programs are run through command prompt. I tried tha same in c++. i saved my program in dev-cpp/bin .but i am not able to do this..what is the … Article by rajatC in Software Development
c++
Firstly, set PATH variable to bin of dev-cpp Then in the same folder where .cpp program is, use following: compile > g++ -Wall -o file file.cpp run > file run with command line arguments > file cmd1 cmd2
Member Avatar
-2 Joined the Community
Member Avatar
Sponsored Donated to our Community; Thanks!
Member Avatar
1,078 Replied To a Post in Security question
Hello i have a question about the security of my website, does my website can get hacked somehow if im updating it directly from my database? (ex. images, posts, links...). I have few pages on my website which have PHP code to read info from the database and i do … Article by Stefan_1 in Web Development
**@TexWiller** sorry, I explain you why I asked if the database is in the OP location and not in the web server: in that case he would have to setup a TSL certificate between the client (in the web server) and the database in his network, otherwise the connection could …
Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it … Article by can-mohan in Software Development
c c++
> i believe unsigned short int is equalent to uint16_t and easily portable as well in all available platforms. They are definitely not guaranteed to be equivalent, though they very often are equivalent. Here is my understanding. Again, could be wrong, but I don't think so and google seems to …
Member Avatar
Hi, I need to make sure my integer variable doesn't store more than 2 bytes. Usually i am writing programme on Linux machine where integer size is 4 byte. Each byte can take the values 0 through 255 (=2^8-1). So, two bytes can take the values 255*255=65535, so would it … Article by can-mohan in Software Development
c c++
> i believe unsigned short int is equalent to uint16_t and easily portable as well in all available platforms. They are definitely not guaranteed to be equivalent, though they very often are equivalent. Here is my understanding. Again, could be wrong, but I don't think so and google seems to …
Member Avatar
776 Replied To a Post in loop row until cell empty
hi, I have an excel sheet and the is a row filled with data the row starts from B5 everytime, what i want to do it to read the values of the cell until the row comes to an empty cell how do i do it, thanks appreciate a reply, … Article by anisha.silva in Software Development
You should post this as a new question, instead of adding on to an old question. If necessary you can refer to the old one in your question.
Member Avatar
Gave Reputation to in Security question
Hello i have a question about the security of my website, does my website can get hacked somehow if im updating it directly from my database? (ex. images, posts, links...). I have few pages on my website which have PHP code to read info from the database and i do … Article by Stefan_1 in Web Development
I have some questions to ask here: * is the database in your location? * can the database accept remote connections? * can you define which IPs are allowed to connect the database? * can you create database users? In reference to the last, if you can create new users, …