473,626 Members | 3,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Useless Textbook! Need help

H

My worthless textbook gives an example where you create a structure to mimic a Random Access file layout and you are expected to use an instantiation of that to pull data out of the Random Access file. Problem is of course that this is a value type variable and we need to have option explicit on so it won't box and unbox for me. I keep getting errors on the FileGet method

Can somebody help as I am ready to throw the damn thing out the window

Thank you
Nov 20 '05 #1
1 1148
"Robin" <an*******@disc ussions.microso ft.com> schrieb

My worthless textbook gives an example where you create a structure
to mimic a Random Access file layout and you are expected to use an
instantiation of that to pull data out of the Random Access file.
Problem is of course that this is a value type variable and we need
to have option explicit on so it won't box and unbox for me. I keep
getting errors on the FileGet method.

Can somebody help as I am ready to throw the damn thing out the
window>


Please post the code making problems.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
515
by: JimC | last post by:
Database design is well covered in undergrad CS. But does anyone know of a textbook that deals with the design of database servers (and probably touches on databases themselves), and perhaps deals with interpreting SQL inquiries? The motivation for this is that I wish to write a database server for a proprietary operating system (it resembles POSIX, but is not completely compliant) for an embedded processor system that exchanges...
1
1334
by: JimC | last post by:
Database design is well covered in undergrad CS. But does anyone know of a textbook that deals with the design of database servers (and probably touches on databases themselves), and perhaps deals with interpreting SQL inquiries? The motivation for this is that I wish to write a database server for a proprietary operating system (it resembles POSIX, but is not completely compliant) for an embedded processor system that exchanges...
26
2703
by: Michi Henning | last post by:
I've been having problem with destructors in the context of having ported C# code developed under .NET to Mono. What happens is that, on a dual-CPU machine, various parts of the code crash randomly (and rarely). This always happens during process shutdown, after some thread has called System.Environment.Exit(). Clearly, some sort of race condition. Note that what follows only applies to destructors that are called when the process shuts...
11
1706
by: Rickie | last post by:
Dear fellow software engineers, Is the web menu in asp 2.0 essentielle a useless control ? How many people( including msdn itself) are using server menu controls? Its a menu which always postback to server, which cant be caught on the event of a menuitem. Wouldnt we rather use other ways of making menus which are essentially clientsite ? With its postback its certainly not high on usebility. Then we have to use ajax or javascript...
20
1829
by: ilya2 | last post by:
I am supposed to teach an introductory C course with an unusual slant, and have trouble finding an appropriate textbook. The course will begin traditionally enough with variables, loops, conditionals, structures, pointers and fopen/fclose. Beyond that, however, every course and textbook I had seen is heavy on data *structures*, and touches on other topics lightly if at all. Whereas I need to stress data *types*, converting them one into...
3
1214
by: ilh.cho | last post by:
Hello, I am looking for a good textbook that covers techniques of processing files in different forms (flat, tagged, indexed, xml, ...) which also has some coverage on database processing. Any recommendation? Thanks, cho
1
1528
by: laredotornado | last post by:
Hi, Say I have this textbox <input "readonly" type="text" class="productName" value="<!-- could be anything here -->" id="Name1" name="Name1"> How (if at all) can I define the class "productName" to make the width of the textbox long enough to display all of the value of the textbox, but then not take up any unnecessary space? For example, setting
0
2250
by: Joe Hesse | last post by:
Hi, Has anyone used the textbook "HTML and XHTML" by Patrick Carey for a college course? I want to use it to teach a course and would like comments on how the book is received as a text. Thank you, Joe Hesse
9
1369
by: Lars Eighner | last post by:
In the code below, the line "unsigned int ktop,kbot;" seems to be useless as ktop and kbot are never used. Yet, this work with it and breaks without it. Any idea why? #include <stdio.h>
4
1208
by: Ramon F Herrera | last post by:
I am running the examples included in the book "Thinking in C++" (*). This one has a a problem: //: C02:Scopy.cpp // Copy one file to another, a line at a time #include <string> #include <fstream> using namespace std;
0
8272
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8205
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8713
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8644
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7206
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2632
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.